mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-24 20:03:41 +03:00
feat(api): cors
This commit is contained in:
parent
b80e95c20e
commit
5323d93dc1
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"taskDefinitionArn": "arn:aws:ecs:eu-west-3:253053805092:task-definition/quivr:5",
|
"taskDefinitionArn": "arn:aws:ecs:eu-west-3:253053805092:task-definition/quivr:11",
|
||||||
"containerDefinitions": [
|
"containerDefinitions": [
|
||||||
{
|
{
|
||||||
"name": "quivr",
|
"name": "quivr",
|
||||||
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:dc495523cc930780e59c40653043ee570af110eb",
|
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:b80e95c20e2c3d78ef64b3a307e43d7d7823e77e",
|
||||||
"cpu": 256,
|
"cpu": 256,
|
||||||
"memory": 512,
|
"memory": 512,
|
||||||
"portMappings": [
|
"portMappings": [
|
||||||
@ -40,7 +40,7 @@
|
|||||||
"taskRoleArn": "arn:aws:iam::253053805092:role/ecsTaskExecutionRole",
|
"taskRoleArn": "arn:aws:iam::253053805092:role/ecsTaskExecutionRole",
|
||||||
"executionRoleArn": "arn:aws:iam::253053805092:role/ecsTaskExecutionRole",
|
"executionRoleArn": "arn:aws:iam::253053805092:role/ecsTaskExecutionRole",
|
||||||
"networkMode": "awsvpc",
|
"networkMode": "awsvpc",
|
||||||
"revision": 5,
|
"revision": 11,
|
||||||
"volumes": [],
|
"volumes": [],
|
||||||
"status": "ACTIVE",
|
"status": "ACTIVE",
|
||||||
"requiresAttributes": [
|
"requiresAttributes": [
|
||||||
@ -89,7 +89,7 @@
|
|||||||
"cpuArchitecture": "X86_64",
|
"cpuArchitecture": "X86_64",
|
||||||
"operatingSystemFamily": "LINUX"
|
"operatingSystemFamily": "LINUX"
|
||||||
},
|
},
|
||||||
"registeredAt": "2023-06-02T08:27:05.135Z",
|
"registeredAt": "2023-06-03T15:46:30.484Z",
|
||||||
"registeredBy": "arn:aws:iam::253053805092:root",
|
"registeredBy": "arn:aws:iam::253053805092:user/github",
|
||||||
"tags": []
|
"tags": []
|
||||||
}
|
}
|
@ -35,7 +35,8 @@ app = FastAPI()
|
|||||||
origins = [
|
origins = [
|
||||||
"http://localhost",
|
"http://localhost",
|
||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
"https://api.quivr.app"
|
"https://quivr.app",
|
||||||
|
"https://www.quivr.app",
|
||||||
]
|
]
|
||||||
|
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
|
Loading…
Reference in New Issue
Block a user