feat(ui): optimize wiki ingredient links, product images, back buttons, and checkout settings
Deploy Canina / deploy (push) Successful in 1m54s
Deploy Canina / deploy (push) Successful in 1m54s
This commit is contained in:
1 parent
03c6ed58c7
commit
2d83a00169
15 files changed
+550
-396
No files matched your search
+4
-1
@@ -25,10 +25,13 @@ async function bootstrap() {
|
||||
|
||||
const app = await NestFactory.create<NestExpressApplication>(AppModule);
|
||||
|
||||
// Serve static uploads folder
|
||||
// Serve static uploads folder under both /uploads/ and /api/uploads/
|
||||
app.useStaticAssets(join(process.cwd(), 'uploads'), {
|
||||
prefix: '/uploads/',
|
||||
});
|
||||
app.useStaticAssets(join(process.cwd(), 'uploads'), {
|
||||
prefix: '/api/uploads/',
|
||||
});
|
||||
|
||||
app.use(
|
||||
helmet({
|
||||
|
||||
Reference in new issue
Block a user