diff --git a/server.js b/server.js index f55ce81..92b03e6 100644 --- a/server.js +++ b/server.js @@ -1,7 +1,10 @@ // Bubo RSS (on Glitch!) // init project -const express = require("express"); +import express from "express"; +import { URL } from 'url'; // in Browser, the URL in native accessible on window +const __dirname = new URL('.', import.meta.url).pathname; + const app = express(); // we've started you off with Express,