mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-16 01:25:30 +00:00
Added static assets serving in the self-hosted example
This commit is contained in:
@@ -8,6 +8,7 @@ import express from "express";
|
||||
export const app = express();
|
||||
|
||||
app.use(express.json());
|
||||
app.use(express.static("public"));
|
||||
|
||||
app.listen(8080, "0.0.0.0", () => {
|
||||
console.log("Webserver started on port 8080");
|
||||
|
||||
Reference in New Issue
Block a user