mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 11:46:37 +02:00
✨ Speed up e2e testing
This commit is contained in:
parent
4e0c6f847f
commit
08c3901134
4 changed files with 7 additions and 1 deletions
|
@ -1,10 +1,14 @@
|
|||
import express from "express";
|
||||
import compression from "compression";
|
||||
|
||||
import { fileURLToPath } from "url";
|
||||
import path from "path";
|
||||
|
||||
const app = express();
|
||||
const port = 3000;
|
||||
|
||||
app.use(compression());
|
||||
|
||||
const staticPath = path.join(fileURLToPath(import.meta.url), "../../resources/public");
|
||||
app.use(express.static(staticPath));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue