Noxitb
Noxitb
CDCloudflare Developers
Created by Noxitb on 6/29/2024 in #workers-help
AstroJs Site Setup
and my astro config
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import sitemap from '@astrojs/sitemap';
import cloudflare from "@astrojs/cloudflare";

export default defineConfig({
site: 'https://kiwihosting.net',
integrations: [tailwind(), sitemap()],
trailingSlash: 'never',
build: {
format: 'file'
},
output: "server",
adapter: cloudflare()
});
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import sitemap from '@astrojs/sitemap';
import cloudflare from "@astrojs/cloudflare";

export default defineConfig({
site: 'https://kiwihosting.net',
integrations: [tailwind(), sitemap()],
trailingSlash: 'never',
build: {
format: 'file'
},
output: "server",
adapter: cloudflare()
});
3 replies
CDCloudflare Developers
Created by Noxitb on 6/29/2024 in #workers-help
AstroJs Site Setup
current wrangler config
name = "kiwihostingnet"
main = "dist/_worker.js"
compatibility_date = "2023-06-30"
workers_dev = true

# Configure the site to serve assets like CSS, JS, images
site = { bucket = "./dist" }
name = "kiwihostingnet"
main = "dist/_worker.js"
compatibility_date = "2023-06-30"
workers_dev = true

# Configure the site to serve assets like CSS, JS, images
site = { bucket = "./dist" }
3 replies