Skip to content

Commit

Permalink
Fix UV
Browse files Browse the repository at this point in the history
The UV library doesn't support custom configs
  • Loading branch information
MovByte committed Feb 27, 2023
1 parent 332892a commit 990225e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import express from "express";
import cookieParser from "cookie-parser";
import http from "node:http";
import createBareServer from "@tomphttp/bare-server-node";
import { uvPath } from "@titaniumnetwork-dev/ultraviolet";
import path from "node:path";
import config from "./deployment.config.json" assert { type: "json" };
import sgMail from "@sendgrid/mail";
Expand Down Expand Up @@ -160,7 +159,6 @@ app.post("/validate-otp", (req, res) => {
});

// Static files
app.use("/uv/", express.static(uvPath));
app.use(express.static(path.join(__dirname, "public")));

// Login route
Expand Down

0 comments on commit 990225e

Please sign in to comment.