Updating express server for module

This commit is contained in:
George Mandis 2021-11-29 01:35:39 -08:00
parent b429c213b8
commit 89dbf2c17a

View File

@ -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,