📜  配置角度路由器 apache - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:53.548000             🧑  作者: Mango

代码示例1
RewriteEngine On  
# If an existing asset or directory is requested go to it as it is
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^ - [L]

# If the requested resource doesn't exist, use index.html
RewriteRule ^ /index.html