Commit 95bcf71d authored by nanahira's avatar nanahira

prefix

parent 3842efdd
Pipeline #41199 failed with stages
in 1 minute and 33 seconds
......@@ -28,3 +28,7 @@ $ npm run start:prod
## License
AGPLv3
## Running instance
A running instance is available at https://deckform.yuzurisa.com/docs
\ No newline at end of file
......@@ -6,7 +6,7 @@ import { ConfigService } from '@nestjs/config';
async function bootstrap() {
const app = await NestFactory.create<NestExpressApplication>(AppModule);
app.setGlobalPrefix('api/v2');
app.setGlobalPrefix('api');
app.enableCors();
app.set('trust proxy', ['172.16.0.0/12', 'loopback']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment