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] middleware #210

Closed
timeshift92 opened this issue May 13, 2021 · 1 comment
Closed

[feat] middleware #210

timeshift92 opened this issue May 13, 2021 · 1 comment

Comments

@timeshift92
Copy link

Hello, will it be possible to add your own middleware, thus the question arises, can I embed a backend for authorization?

@natemoo-re
Copy link
Member

Hello there! For the initial release of Astro we are focused only on static site generation. It is only responsible for statically generating HTML/CSS/JS to run in the browser—it doesn't have any opinions about the backend (how the content is served, if there's an auth layer, etc).

We absolutely expect to add server capabilities (SSR) at some point in the future. When we get there, authorization is an extremely common use case we'll be designing for.

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

No branches or pull requests

2 participants