Skip to content

Commit

Permalink
wisp-js migration 2: electric boogaloo
Browse files Browse the repository at this point in the history
  • Loading branch information
wearrrrr committed Oct 28, 2024
1 parent b6850af commit 7038f5f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 41 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import path from "node:path";
import rammerhead from "@rubynetwork/rammerhead";
import chalk from "chalk";
import dotenv from "dotenv-flow";
import wisp from "wisp-server-node";
import { server as wisp, logging } from "@mercuryworkshop/wisp-js/server";
import router from "./middleware/ProxyExt/index.js";
import { handler as astroSSR } from "./dist/server/entry.mjs";
import cookies from "cookie-parser";
Expand All @@ -20,6 +20,7 @@ dotenv.config();
const whiteListedDomains = ["aluu.xyz", "localhost"];
const LICENSE_SERVER_URL = "https://license.mercurywork.shop/validate?license=";
const MASQR_ENABLED = process.env.MASQR_ENABLED;
logging.set_level(logging.WARN);

const log = (message) => console.log(chalk.gray.bold("[Alu] " + message));
const success = (message) => console.log(chalk.green.bold("[Alu] " + message));
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
"express": "^4.21.1",
"notyf": "^3.10.0",
"sequelize": "^6.37.5",
"sqlite3": "^5.1.7",
"wisp-server-node": "^1.1.7"
"sqlite3": "^5.1.7"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.18.0",
Expand Down
54 changes: 16 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7038f5f

Please sign in to comment.