mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 13:25:19 +00:00
Added static assets serving in the self-hosted example
This commit is contained in:
BIN
examples/self-hosted/public/liquicity_header.png
Normal file
BIN
examples/self-hosted/public/liquicity_header.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 967 KiB |
@@ -8,6 +8,7 @@ import express from "express";
|
|||||||
export const app = express();
|
export const app = express();
|
||||||
|
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
|
app.use(express.static("public"));
|
||||||
|
|
||||||
app.listen(8080, "0.0.0.0", () => {
|
app.listen(8080, "0.0.0.0", () => {
|
||||||
console.log("Webserver started on port 8080");
|
console.log("Webserver started on port 8080");
|
||||||
|
|||||||
Reference in New Issue
Block a user