Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Automate creating redirects #620

Closed

Conversation

joysamaddar
Copy link

No description provided.

@joysamaddar joysamaddar requested a review from a team as a code owner December 13, 2024 04:01
@joysamaddar joysamaddar mentioned this pull request Dec 13, 2024
2 tasks
@dcts
Copy link
Contributor

dcts commented Dec 13, 2024

Hey! Thanks for the PR.

Unfortunatley this won't work with our current setup. DeXter is setup as a static webapp using next export, which builds a bunch of static files that then can be hosted on a CDN. To use redirects you need to enable server capabilities, which we currently don't want to do, in order to reduce costs and improve decentralization.

The build may work locally, but when I try to deploy it I get:

Specified "redirects" will not automatically work with "output: export". See more info here: 
https://nextjs.org/docs/messages/export-no-custom-routes

Feel free to re-open if you think this can be done differently.

@dcts dcts closed this Dec 13, 2024
@joysamaddar
Copy link
Author

Reopened the PR in here - #621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants