fixed modules

This commit is contained in:
idittrich-valueon 2025-06-04 21:40:04 +02:00
parent 2e9b5e7216
commit 3f82878eb0
2 changed files with 8 additions and 3 deletions

View file

@ -25,7 +25,7 @@ jobs:
npm run build --if-present
- name: Zip artifact for deployment
run: zip release.zip ./* -r
run: zip release.zip ./* -r -x "node_modules/*" ".git/*" "*.md" ".github/*"
- name: Upload artifact for deployment job
uses: actions/upload-artifact@v4

View file

@ -1,5 +1,10 @@
const express = require('express');
const path = require('path');
import express from 'express';
import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const app = express();
// Serve static files from the dist directory