Skip to content

Commit

Permalink
Allow lvm-hub in CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Aug 9, 2024
1 parent 0a86769 commit e8c141c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ module.exports = {
},
],
parserOptions: {
// parser: '@typescript-eslint/parser',
project: './tsconfig.json',
tsconfigRootDir: __dirname,
},
rules: {
'react/react-in-jsx-scope': 'off',
Expand Down
9 changes: 7 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ export default withBundleAnalyzer({
experimental: {
optimizePackageImports: ['@mantine/core', '@mantine/hooks'],
serverActions: {
allowedForwardedHosts: ['localhost'],
allowedOrigins: ['localhost:8080'],
allowedForwardedHosts: ['localhost', '10.8.38.21', 'lvm-hub', 'lvm-hub.lco.cl'],
allowedOrigins: [
'localhost:8080',
'10.8.38.21:8080',
'lvm-hub:8080',
'lvm-hub.lco.cl:8080',
],
},
},
trailingSlash: true,
Expand Down

0 comments on commit e8c141c

Please sign in to comment.