fix: remove conflicting gitea page route
This commit is contained in:
@@ -16,10 +16,6 @@ function setupGiteaRoutes(app) {
|
|||||||
|
|
||||||
const gitea = new GiteaIntegration(giteaConfig);
|
const gitea = new GiteaIntegration(giteaConfig);
|
||||||
|
|
||||||
// Gitea page route - redirect to main SPA with hash
|
|
||||||
app.get('/gitea', (req, res) => {
|
|
||||||
res.redirect('/#gitea');
|
|
||||||
});
|
|
||||||
|
|
||||||
// Gitea API routes
|
// Gitea API routes
|
||||||
app.get('/api/gitea/swarm', async (req, res) => {
|
app.get('/api/gitea/swarm', async (req, res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user