aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react')
-rw-r--r--ui-react/nginx/nginx.conf17
-rw-r--r--ui-react/package.json3
-rw-r--r--ui-react/public/index.html10
3 files changed, 6 insertions, 24 deletions
diff --git a/ui-react/nginx/nginx.conf b/ui-react/nginx/nginx.conf
deleted file mode 100644
index 758a646e..00000000
--- a/ui-react/nginx/nginx.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-server {
-
- listen 80;
-
- location / {
- root /usr/share/nginx/html;
- index index.html index.htm;
- try_files $uri $uri/ /index.html;
- }
-
- error_page 500 502 503 504 /50x.html;
-
- location = /50x.html {
- root /usr/share/nginx/html;
- }
-
-} \ No newline at end of file
diff --git a/ui-react/package.json b/ui-react/package.json
index 65608bed..3d2f6812 100644
--- a/ui-react/package.json
+++ b/ui-react/package.json
@@ -4,14 +4,13 @@
"description": "ONAP Clamp Loop Designer UI",
"author": "ONAP Clamp Team",
"license": "Apache-2.0",
- "homepage": "wiki.onap.org",
"publishConfig": {
"registry": "https://nexus3.onap.org/repository/npm.snapshot/"
},
"main": "index.js",
"proxy": "https://localhost:8443",
"scripts": {
- "start": "react-scripts start",
+ "start": "HTTPS=true react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom --watchAll=false",
"eject": "react-scripts eject",
diff --git a/ui-react/public/index.html b/ui-react/public/index.html
index 2b740fea..bab3e7ab 100644
--- a/ui-react/public/index.html
+++ b/ui-react/public/index.html
@@ -26,15 +26,15 @@
<head>
<meta charset="utf-8">
<meta name="viewport"
- content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
-<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
-<link rel="shortcut icon" href="%PUBLIC_URL%/onap.ico">
+<link rel="manifest" href="manifest.json">
+<link rel="shortcut icon" href="onap.ico">
<title>Clamp Designer UI</title>
</head>
<body>
- <noscript>You need to enable JavaScript to run this app.</noscript>
- <div id="root"></div>
+ <noscript>You need to enable JavaScript to run this app.</noscript>
+ <div id="root"></div>
</body>
</html>