Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Richie Bendall 2021-10-29 00:43:07 +13:00
parent 91d38fac74
commit de7f05b2ee
No known key found for this signature in database
GPG key ID: 1C6A99DFA9D306FC

View file

@ -1,6 +1,7 @@
// IMPORTANT: Set the `github_token` environment variable to a personal access token with at least the `public_repo` scope for the API.
// The `PORT` environment variable can also be set to control the port the server should be hosted on.
import path, {dirname} from 'node:path'
import {fileURLToPath} from 'node:url'
import process from 'node:process'
import express from 'express'
import minify from 'express-minify'
@ -10,8 +11,6 @@ import tempDirectory from 'temp-dir'
import postcssPresetEnv from 'postcss-preset-env'
import cors from 'cors'
import {fileURLToPath} from 'node:url'
import postRoute from './routes/post.js'
import getRoute from './routes/get.js'