Astro Adapter
The Altitude Astro Adapter allows you to deploy your Astro site to Altitude’s edge network with minimal configuration.
Installation
npm install @altitude/astro-adapter@5.0.1
Usage
Add the adapter to your astro.config.mjs file:
import { defineConfig } from 'astro/config';
import altitude from '@altitude/astro-adapter';
export default defineConfig({
output: 'server',
adapter: altitude(),
});
Configuration Options
The adapter accepts the following options:
altitude({
// Your Altitude project name (optional)
// Default: inferred from package.json
projectName: 'my-astro-site',
})
Need Help?
If you encounter any issues or have questions, please open an issue on our GitHub repository.