chore(ops): migrate clube67 to newwhats.clube67.com directory
continuous-integration/webhook Falha no deploy de clube67_newwhats.local (VPS 4)
continuous-integration/webhook Falha no deploy de clube67_newwhats.local (VPS 4)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<IfModule mod_mime.c>
|
||||
# Força o servidor a enviar arquivos TSX/TS como texto javascript
|
||||
# Isso corrige o erro "MIME type of application/octet-stream"
|
||||
AddType text/javascript .js
|
||||
AddType text/javascript .jsx
|
||||
AddType text/javascript .ts
|
||||
AddType text/javascript .tsx
|
||||
AddType text/css .css
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase /odonto/
|
||||
|
||||
# Se o arquivo ou diretório existir, serve ele normalmente
|
||||
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
||||
RewriteCond %{REQUEST_FILENAME} -d
|
||||
RewriteRule ^ - [L]
|
||||
|
||||
# Caso contrário, redireciona tudo para index.html (Fallback para SPA)
|
||||
RewriteRule ^ index.html [L]
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user