mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Added alias for public folder.
This commit is contained in:
parent
56ee52e349
commit
f62d23c9bc
3 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,6 @@
|
|||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
require('dotenv').config();
|
||||
const path = require('path');
|
||||
const pkg = require('./package.json');
|
||||
|
||||
const contentSecurityPolicy = `
|
||||
|
|
@ -92,6 +93,8 @@ const config = {
|
|||
use: ['@svgr/webpack'],
|
||||
});
|
||||
|
||||
config.resolve.alias['public'] = path.resolve('./public');
|
||||
|
||||
return config;
|
||||
},
|
||||
async headers() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue