mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
no message
This commit is contained in:
parent
8ffe64ad8e
commit
a562bfdb08
@ -96,7 +96,7 @@ services:
|
|||||||
appstore:
|
appstore:
|
||||||
container_name: "dootask-appstore-${APP_ID}"
|
container_name: "dootask-appstore-${APP_ID}"
|
||||||
privileged: true
|
privileged: true
|
||||||
image: "dootask/appstore:0.2.1"
|
image: "dootask/appstore:0.2.2"
|
||||||
volumes:
|
volumes:
|
||||||
- shared_data:/usr/share/dootask
|
- shared_data:/usr/share/dootask
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
@ -35,8 +35,8 @@ server {
|
|||||||
add_header Access-Control-Expose-Headers "Date, Last-Modified, Age" always;
|
add_header Access-Control-Expose-Headers "Date, Last-Modified, Age" always;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
if ($uri ~* ^/uploads/.*\.(jpe?g|png|gif|webp)$) {
|
if ($uri ~* "^/uploads/.*\.(jpe?g|png|gif|webp)$") {
|
||||||
add_header Access-Control-Allow-Origin "http://localhost:2222" always;
|
add_header Access-Control-Allow-Origin "http://localhost:22223" always;
|
||||||
add_header Access-Control-Allow-Methods "GET, OPTIONS" always;
|
add_header Access-Control-Allow-Methods "GET, OPTIONS" always;
|
||||||
add_header Access-Control-Allow-Headers "DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" always;
|
add_header Access-Control-Allow-Headers "DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" always;
|
||||||
add_header Access-Control-Allow-Credentials "true" always;
|
add_header Access-Control-Allow-Credentials "true" always;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user