Skip to content

Commit

Permalink
Use Astro for redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
pavi2410 committed Jun 24, 2023
1 parent 5cc0c5d commit fce0660
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 33 deletions.
8 changes: 8 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,13 @@ export default defineConfig({
integrations: [sitemap()],
vite: {
plugins: [yaml()]
},
experimental: {
redirects: true
},
redirects: {
'/account': 'https://account.kodular.io/',
'/ide': 'https://ide.kodular.io/',
'/store': 'https://store.kodular.io/',
}
});
18 changes: 0 additions & 18 deletions src/layouts/Redirect.astro

This file was deleted.

5 changes: 0 additions & 5 deletions src/pages/account.astro

This file was deleted.

5 changes: 0 additions & 5 deletions src/pages/ide.astro

This file was deleted.

5 changes: 0 additions & 5 deletions src/pages/store.astro

This file was deleted.

0 comments on commit fce0660

Please sign in to comment.