feat: add content length to file upload endpoint, cors for local dev
This commit is contained in:
+2
-1
@@ -1,2 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
awslocal s3 mb s3://comfyui-deploy
|
||||
awslocal s3 mb s3://comfyui-deploy
|
||||
awslocal s3api put-bucket-cors --bucket comfyui-deploy --cors-configuration file:///app/web/aws/cors-config.json
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"CORSRules": [
|
||||
{
|
||||
"AllowedHeaders": [
|
||||
"*"
|
||||
],
|
||||
"AllowedMethods": [
|
||||
"PUT"
|
||||
],
|
||||
"AllowedOrigins": [
|
||||
"*"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user