更新模板功能
This commit is contained in:
1 parent
1f8d876cef
commit
bf21006d4e
168 files changed
+82346
-229
No files matched your search
@@ -6,6 +6,16 @@
|
||||
RewriteCond %{REQUEST_METHOD} OPTIONS
|
||||
RewriteRule ^(.*)$ $1 [R=204,L]
|
||||
|
||||
# 排除静态文件和特定PHP文件
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_URI} !^/themes/
|
||||
RewriteCond %{REQUEST_URI} !^/static/
|
||||
RewriteCond %{REQUEST_URI} !^/storage/
|
||||
RewriteCond %{REQUEST_URI} !^/favicon.ico$
|
||||
RewriteCond %{REQUEST_URI} !^/robots.txt$
|
||||
RewriteRule ^(.*)$ index.php [L]
|
||||
|
||||
# 添加 CORS 头
|
||||
Header set Access-Control-Allow-Origin "http://localhost:5173"
|
||||
Header set Access-Control-Allow-Credentials "true"
|
||||
|
||||
Reference in new issue
Block a user