mirror of
https://github.com/georgemandis/bubo-rss.git
synced 2024-11-27 06:08:18 +00:00
Updating express server for module
This commit is contained in:
parent
b429c213b8
commit
89dbf2c17a
@ -1,7 +1,10 @@
|
|||||||
// Bubo RSS (on Glitch!)
|
// Bubo RSS (on Glitch!)
|
||||||
|
|
||||||
// init project
|
// 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();
|
const app = express();
|
||||||
|
|
||||||
// we've started you off with Express,
|
// we've started you off with Express,
|
||||||
|
Loading…
Reference in New Issue
Block a user