feat(halo): cdn切换
这个提交包含在:
@@ -42,7 +42,7 @@ spec:
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
proxy_set_header Accept-Encoding "";
|
||||
subs_filter_types text/html;
|
||||
subs_filter '<(script|img|link)([^>]*) (src|href)="/' '<$1$2 $3="https://static.fillcode.com/dev-cm/' ri;
|
||||
subs_filter '<(script|img|link)([^>]*) (src|href)="/' '<$1$2 $3="https://cdn.fillcode.com/dev-cm/' ri;
|
||||
subs_filter 'url\(\/' 'url(https://static.fillcode.com/dev-cm/' ri;
|
||||
subs_filter 'Halo' 'FillCode' r;
|
||||
hostname: dev.cm
|
||||
|
||||
@@ -44,7 +44,7 @@ metadata:
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: static.fillcode.com
|
||||
- host: cdn.fillcode.com
|
||||
http:
|
||||
paths:
|
||||
- path: /dev-cm(/|$)(.*)
|
||||
|
||||
在新议题中引用
屏蔽一个用户