Commit a6ff4b05 authored by zhijie.xue's avatar zhijie.xue

兼容微前端

parent d4bfc8f2
......@@ -19,6 +19,10 @@ server {
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
# 微前端访问
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Credentials' 'true';
location = /favicon.ico {
access_log off;
log_not_found off;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment