let express = require('express')
let cors = require('cors')

let app = express()

app.use(express.static('./'))
app.use(cors({
    origin: "https://www.inkletblot.com:32378"
}))

app.get('/', (req, res) => {
    res.sendFile('./index.html')
})

let port = 8700

app.listen(port, () => {
    console.log("Listening on port "+port+"...");
    console.log("Go to: http://localhost:"+port+" or http://127.0.0.1:"+port+" to view...")
})