We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f3dd86 commit c6840c8Copy full SHA for c6840c8
.github/deployment/front/affine.nginx.conf
@@ -15,7 +15,7 @@ server {
15
set $mobile_root /app/dist/;
16
set_by_lua $affine_env 'return os.getenv("AFFINE_ENV")';
17
18
- if ($affine_env = "canary") {
+ if ($affine_env = "dev") {
19
set $mobile_root /app/mobile/;
20
}
21
.github/deployment/front/nginx.conf
@@ -12,9 +12,4 @@ http {
12
'"$http_user_agent" "$http_x_forwarded_for"';
13
access_log /var/log/nginx/access.log main;
14
include /etc/nginx/conf.d/*.conf;
-
- map "${AFFINE_ENV}" $mobile_root {
- dev /app/mobile/;
- default /app/dist/;
- }
0 commit comments