|
@@ -10,11 +10,13 @@ http://127.0.0.1:8080 '127';
|
|
|
http://localhost 'lo';
|
|
http://localhost 'lo';
|
|
|
http://localhost:8080 'lo';
|
|
http://localhost:8080 'lo';
|
|
|
|
|
|
|
|
|
|
+https://jsproxy.tk 'js-tk';
|
|
|
|
|
+
|
|
|
# 接口和网站同源,这种情况下 origin 为空
|
|
# 接口和网站同源,这种情况下 origin 为空
|
|
|
'' 'mysite';
|
|
'' 'mysite';
|
|
|
|
|
|
|
|
# ~ 开头为正则匹配,此处允许 github.io 所有子站点
|
|
# ~ 开头为正则匹配,此处允许 github.io 所有子站点
|
|
|
-~^https://([\w-]+)\.github\.io$ 'gh-$1';
|
|
|
|
|
|
|
+~^https://([\w-]+)\.github\.io$ 'gh-$1';
|
|
|
|
|
|
|
|
# 允许任何站点使用
|
|
# 允许任何站点使用
|
|
|
# ~(.*) '$1';
|
|
# ~(.*) '$1';
|