Skip to content

Commit d550c38

Browse files
committed
Use Temporal polyfill for deno deploy
Sigh.
1 parent ee1aeec commit d550c38

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

api/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { getConfig } from './config.ts';
55
import { Services } from './services/index.ts';
66
import { createLocal } from './services/local.ts';
77
import { createSpotify } from './services/spotify.ts';
8+
import 'temporal-polyfill/global';
89

910
const services: Services = {
1011
fileHost: getConfig('GITHUB_TOKEN', '')

deno.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"std/": "https://deno.land/[email protected]/",
44
"lume/": "https://deno.land/x/[email protected]/",
55
"html_entities": "https://deno.land/x/[email protected]/mod.js",
6-
"slug": "https://deno.land/x/[email protected]/mod.ts"
6+
"slug": "https://deno.land/x/[email protected]/mod.ts",
7+
"temporal-polyfill": "https://esm.sh/[email protected]",
8+
"temporal-polyfill/global": "https://esm.sh/[email protected]/global"
79
},
810
"tasks": {
911
"lume": "echo \"import 'lume/cli.ts'\" | deno run --unstable-temporal -A -",

deno.lock

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)