switch to commonjs for pds script
parent
209ecd91fe
commit
849a04e82a
|
@ -1,10 +1,12 @@
|
|||
import "dotenv/config";
|
||||
"use strict"
|
||||
|
||||
import { envStr } from "@atproto/common";
|
||||
import { PDS, envToCfg, envToSecrets, readEnv } from "@atproto/pds";
|
||||
import pkg from "@atproto/pds/package.json" with { type: "json" };
|
||||
require("dotenv").config();
|
||||
|
||||
import process from "node:process";
|
||||
const { envStr } = require("@atproto/common");
|
||||
const { PDS, envToCfg, envToSecrets, readEnv } = require("@atproto/pds");
|
||||
const pkg = require("@atproto/pds/package.json");
|
||||
|
||||
const process = require("node:process")
|
||||
|
||||
const main = async () => {
|
||||
const env = readEnv();
|
Loading…
Reference in New Issue