mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Actually fix policy.worker import (hack)
This commit is contained in:
parent
55115d3592
commit
92da5e6ac3
2 changed files with 3 additions and 2 deletions
2
packages/ditto/workers/deno-env.ts
Normal file
2
packages/ditto/workers/deno-env.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
// @ts-ignore Don't try to access the env from this worker.
|
||||
Deno.env = new Map<string, string>();
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
// @ts-ignore Don't try to access the env from this worker.
|
||||
Deno.env = new Map<string, string>();
|
||||
import './deno-env.ts'; // HACK should be removed when `@/config.ts` is removed.
|
||||
|
||||
import { DittoPolyPg } from '@ditto/db';
|
||||
import '@soapbox/safe-fetch/load';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue