Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:

- name: Build static export
run: npm run build # This will run next build which generates the 'out' directory

- name: Copy Apache configuration
run: cp .htaccess out/.htaccess

- name: Verify build output
run: |
Expand Down
5 changes: 4 additions & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Consolidar a rota antiga de serviços na landing page canônica.
RewriteRule ^services/?$ / [R=301,L]

# Redirecionar todas as URLs não encontradas para a home
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Expand Down Expand Up @@ -48,4 +51,4 @@ Options -Indexes
Header set X-XSS-Protection "1; mode=block"
Header set X-Frame-Options "SAMEORIGIN"
Header set Referrer-Policy "strict-origin-when-cross-origin"
</IfModule>
</IfModule>
14 changes: 0 additions & 14 deletions public/robots.txt

This file was deleted.

352 changes: 0 additions & 352 deletions public/sitemap.xml

This file was deleted.

Loading
Loading