fix(server): wrong mobile root in dev env

This commit is contained in:
LongYinan
2024-09-05 11:18:16 +08:00
parent 5f3dd867ad
commit c6840c8674
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -12,9 +12,4 @@ http {
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
include /etc/nginx/conf.d/*.conf;
map "${AFFINE_ENV}" $mobile_root {
dev /app/mobile/;
default /app/dist/;
}
}