diff --git a/src/server/database-prisma.js b/src/server/database-prisma.js index 51f6461..f1d7532 100644 --- a/src/server/database-prisma.js +++ b/src/server/database-prisma.js @@ -1,4 +1,4 @@ -import { prisma } from './db.js'; +import { prisma } from './db'; import { join } from 'path'; import { writeFileSync, unlinkSync, chmodSync, mkdirSync } from 'fs'; import { existsSync } from 'fs'; diff --git a/src/server/lib/autoSyncInit.js b/src/server/lib/autoSyncInit.js index 5d69828..9093b32 100644 --- a/src/server/lib/autoSyncInit.js +++ b/src/server/lib/autoSyncInit.js @@ -1,4 +1,4 @@ -import { AutoSyncService } from '../services/autoSyncService.js'; +import { AutoSyncService } from '../services/autoSyncService'; import { repositoryService } from '../services/repositoryService'; /** @type {AutoSyncService | null} */ diff --git a/src/server/services/autoSyncService.js b/src/server/services/autoSyncService.js index 7820b69..bca5a8f 100644 --- a/src/server/services/autoSyncService.js +++ b/src/server/services/autoSyncService.js @@ -1,7 +1,7 @@ import cron from 'node-cron'; -import { githubJsonService } from './githubJsonService.js'; -import { scriptDownloaderService } from './scriptDownloader.js'; -import { appriseService } from './appriseService.js'; +import { githubJsonService } from './githubJsonService'; +import { scriptDownloaderService } from './scriptDownloader'; +import { appriseService } from './appriseService'; import { readFile, writeFile, readFileSync, writeFileSync } from 'fs'; import { join } from 'path'; import cronValidator from 'cron-validator'; diff --git a/src/server/services/githubJsonService.js b/src/server/services/githubJsonService.js index a3de782..0315179 100644 --- a/src/server/services/githubJsonService.js +++ b/src/server/services/githubJsonService.js @@ -1,6 +1,6 @@ // JavaScript wrapper for githubJsonService.ts // This allows the JavaScript autoSyncService.js to import the TypeScript service -import { githubJsonService } from './githubJsonService.ts'; +import { githubJsonService } from './githubJsonService'; export { githubJsonService };