mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
b2b291d291
* Handle `base` in adapters * Use removeBase in the test adapter * Update packages/integrations/node/src/preview.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * Update packages/integrations/cloudflare/src/server.advanced.ts Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * Include the subpath for links Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
12 lines
426 B
Markdown
12 lines
426 B
Markdown
---
|
|
'@astrojs/cloudflare': major
|
|
'@astrojs/deno': major
|
|
'@astrojs/node': major
|
|
'astro': patch
|
|
---
|
|
|
|
Handle base configuration in adapters
|
|
|
|
This allows adapters to correctly handle `base` configuration. Internally Astro now matches routes when the URL includes the `base`.
|
|
|
|
Adapters now also have access to the `removeBase` method which will remove the `base` from a pathname. This is useful to look up files for static assets.
|