Skip to content

Commit

Permalink
Merge pull request #461 from fastrodev/dev2
Browse files Browse the repository at this point in the history
fix: deno-deploy
  • Loading branch information
ynwd authored Sep 28, 2024
2 parents 81ab17a + 1fcd073 commit 6f34ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export default class Server implements Fastro {
};

#build = async () => {
if (Deno.Command === undefined) {
if (Deno.env.get("DENO_DEPLOYMENT_ID") !== undefined) {
return [];
}
for (const [_key, page] of Object.entries(this.#routePage)) {
Expand Down

0 comments on commit 6f34ac1

Please sign in to comment.