|
@@ -15,7 +15,7 @@ import { join } from 'path';
|
|
|
function getGogsConfig(): { baseUrl: string; token: string } {
|
|
function getGogsConfig(): { baseUrl: string; token: string } {
|
|
|
// Try to load from environment first
|
|
// Try to load from environment first
|
|
|
const token = process.env.GOGS_ACCESS_TOKEN || process.env.GOGS_TOKEN;
|
|
const token = process.env.GOGS_ACCESS_TOKEN || process.env.GOGS_TOKEN;
|
|
|
- const baseUrl = process.env.GOGS_BASE_URL || 'https://git.smartbotics.hu';
|
|
|
|
|
|
|
+ const baseUrl = process.env.GOGS_BASE_URL || 'https://git.smartbotics.ai';
|
|
|
|
|
|
|
|
if (!token) {
|
|
if (!token) {
|
|
|
throw new Error('GOGS_ACCESS_TOKEN or GOGS_TOKEN environment variable is required');
|
|
throw new Error('GOGS_ACCESS_TOKEN or GOGS_TOKEN environment variable is required');
|