Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ npm-debug.log*
.DS_Store
# Claude Code tooling (not project source)
.claude/

# wrangler files
.wrangler
.dev.vars*
!.dev.vars.example
!.env.example
7 changes: 6 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';

import cloudflare from '@astrojs/cloudflare';

// Fallback used for local dev/build, and before a custom domain is attached
// in Cloudflare Pages. Update if the placeholder domain changes.
const LOCAL_FALLBACK_SITE = 'https://cothilaptrinh.vn';
Expand All @@ -21,6 +23,9 @@ function resolveSite() {

export default defineConfig({
site: resolveSite(),

// Clean, extensionless URLs: /khoa-hoc-scratch (default 'directory' format).
integrations: [sitemap()],
});

adapter: cloudflare()
});
Loading