feat: add content length to file upload endpoint, cors for local dev
This commit is contained in:
1 parent
aa0e3e987c
commit
478859d9b5
4 files changed
+21
-2
No files matched your search
+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