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

Use (edge) middleware to rewrite URLs #38

Open
yeskunall opened this issue Sep 27, 2023 · 1 comment
Open

Use (edge) middleware to rewrite URLs #38

yeskunall opened this issue Sep 27, 2023 · 1 comment
Labels
feat New feature or request

Comments

@yeskunall
Copy link
Owner

yeskunall commented Sep 27, 2023

Subdomains:

<defaults>/defaults
</stats>stats

@yeskunall yeskunall added the feat New feature or request label Sep 27, 2023
@yeskunall
Copy link
Owner Author

yeskunall commented May 20, 2024

Vercel does not recommend using vercel.json to rewrite URLs in Astro projects.

I can use edge middleware instead.

Important

Currently, rewrites using middleware.ts in Astro only work for static files


Astro 4.8

Warning

It’s behind an experimental flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant