Skip to content

Commit

Permalink
feat: build as middleware & use fastify
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoayco committed Jul 27, 2024
1 parent 173d584 commit d3abab1
Show file tree
Hide file tree
Showing 4 changed files with 615 additions and 12 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import node from "@astrojs/node";
export default defineConfig({
output: "server",
adapter: node({
mode: "standalone"
mode: "middleware"
})
});
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@
"build": "astro build",
"publish:patch": "npm version patch && npm publish --access public",
"publish:minor": "npm version minor && npm publish --access public",
"deploy": "astro build && scp -r dist [email protected]:~/cozy/"
"deploy": "astro build && scp -r dist [email protected]:~/cozy/"
},
"devDependencies": {
"astro": "^4.12.2"
},
"dependencies": {
"@astrojs/node": "^8.3.2",
"@ayco/astro-resume": "^0.4.0",
"@ayco/astro-resume": "^0.4.1",
"@extractus/article-extractor": "^8.0.10",
"@fastify/middie": "^8.3.1",
"@fastify/static": "^7.0.4",
"astro-iconify": "^1.2.0",
"fastify": "^4.28.1",
"sass": "^1.77.8",
"ultrahtml": "^1.5.3"
}
Expand Down
Loading

0 comments on commit d3abab1

Please sign in to comment.