mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 22:25:24 +00:00
Changed self-hosted to run on ESM
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
* by adding files later and not adding pass.json
|
||||
*/
|
||||
|
||||
import { app } from "./webserver";
|
||||
import { getCertificates } from "./shared";
|
||||
import path from "node:path";
|
||||
import { promises as fs } from "node:fs";
|
||||
import { PKPass } from "passkit-generator";
|
||||
import { app } from "./webserver.js";
|
||||
import { getCertificates } from "./shared.js";
|
||||
|
||||
function getRandomColorPart() {
|
||||
return Math.floor(Math.random() * 255);
|
||||
|
||||
Reference in New Issue
Block a user