|
@ -8,6 +8,7 @@ require('dotenv').config(); |
|
|
const app = express(); |
|
|
const app = express(); |
|
|
const PORT = process.env.PORT || 3000; |
|
|
const PORT = process.env.PORT || 3000; |
|
|
const GITEA_SECRET = process.env.GITEA_SECRET; |
|
|
const GITEA_SECRET = process.env.GITEA_SECRET; |
|
|
|
|
|
console.log('GITEA_SECRET:', process.env.GITEA_SECRET); |
|
|
|
|
|
|
|
|
// Serve static files from the 'public' directory
|
|
|
// Serve static files from the 'public' directory
|
|
|
app.use(express.static(path.join(__dirname, 'public'))); |
|
|
app.use(express.static(path.join(__dirname, 'public'))); |
|
|