mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: init umami
This commit is contained in:
parent
9968fe23fa
commit
d85ea6861c
4 changed files with 20 additions and 5 deletions
|
|
@ -1,8 +1,19 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: false,
|
||||
output: 'standalone',
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/umami/script.js',
|
||||
destination: `https://eu.umami.is/script.js`,
|
||||
},
|
||||
{
|
||||
source: '/umami/api/send',
|
||||
destination: `https://eu.umami.is/api/send`,
|
||||
},
|
||||
]
|
||||
},
|
||||
reactStrictMode: false,
|
||||
output: 'standalone',
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue