Skip to content

Commit

Permalink
webpack dev
Browse files Browse the repository at this point in the history
Revert "webpack dev"

This reverts commit e52d5be.

webpack dev

good file

remvoe feature xdm test

Revert "remvoe feature xdm test"

This reverts commit 90bf675.

modify webpack

fix header

fix features line

update access control headers
  • Loading branch information
hervedombya committed Sep 29, 2023
1 parent 92702f6 commit 7be4e1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/assets/zenko/.well-known/runtime-app-configuration
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"apiVersion": "ui.scality.com/v1alpha1",
"metadata": {
"kind": "zenko-ui",
"name": "zenko.eu-west-1"
"name": "zenko-ui.eu-west-1"
},
"spec": {
"title": "Data Management",
Expand All @@ -13,12 +13,12 @@
"zenkoEndpoint": "http://127.0.0.1:8383/s3",
"iamEndpoint": "http://127.0.0.1:8383/iam",
"features": ["XDM"],
"basePath": "/zenko"
"basePath": ""
},
"auth": {
"kind": "OIDC",
"providerUrl": "https://ui.pod-choco.local/auth/realms/artesca",
"redirectUrl": "http://localhost:8084/zenko",
"redirectUrl": "http://localhost:8084/",
"clientId": "zenko-ui",
"responseType": "code",
"scopes": "openid email profile",
Expand Down
6 changes: 6 additions & 0 deletions webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@ const accessControlAllowHeaders = [
'x-amz-date',
'if-none-match',
'x-amz-bucket-object-lock-enabled',
'x-authentication-token',
'content-md5',
'x-amz-bypass-governance-retention',
];

module.exports = merge(common, {
mode: 'development',
devtool: 'inline-source-map',
output: {
publicPath: '/zenko/',
},
devServer: {
static: path.join(__dirname, 'public/assets'),
host: '127.0.0.1',
Expand Down

0 comments on commit 7be4e1c

Please sign in to comment.