@ -2,6 +2,7 @@ const fs = require("fs")
const config = {
graphqlEndpoint: "http://127.0.0.1:17000/graphql",
playgroundEndpoint: "http://127.0.0.1:17000/playground",
port: 8080,
root: "http://localhost:8080",
auth0: {
@ -68,6 +68,7 @@ app.use("/auth", require("./routes/auth"))
// API Proxy
app.use("/graphql", require("./routes/graphql"))
app.use("/playground", proxy(config.playgroundEndpoint))
// Page routes
app.use("/story/", require("./routes/story"))