Skip to content

Commit

Permalink
api prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhorner committed Sep 14, 2024
1 parent 25f0ece commit 684e80e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { FileWatcherService } from "./tracks/file-watcher.service"

async function bootstrap() {
const app = await NestFactory.create(AppModule)
app.setGlobalPrefix("api")
await app.listen(3000)

const fileWatcher = app.get(FileWatcherService)
Expand Down

0 comments on commit 684e80e

Please sign in to comment.