UI V2 Build updates

This commit is contained in:
Stash Dev 2019-03-15 15:46:47 -07:00
parent 66d2c5ca04
commit 81177847e3
6 changed files with 52 additions and 74 deletions

View File

@ -10,7 +10,7 @@ before_install:
- echo -e "machine github.com\n login $CI_USER_TOKEN" > ~/.netrc
- cd ui/v1
- yarn install
- ./node_modules/@angular/cli/bin/ng build --prod
- yarn build
- cd ../..
#- go get -v github.com/mgechev/revive
script:

File diff suppressed because one or more lines are too long

View File

@ -29,6 +29,7 @@ const httpsPort = "9999"
var certsBox *packr.Box
var uiBox *packr.Box
//var legacyUiBox *packr.Box
var setupUIBox *packr.Box
func Start() {
@ -38,7 +39,8 @@ func Start() {
//}
certsBox = packr.New("Cert Box", "../../certs")
uiBox = packr.New("UI Box", "../../ui/v1/dist/stash-frontend")
uiBox = packr.New("UI Box", "../../ui/v2/build")
//legacyUiBox = packr.New("UI Box", "../../ui/v1/dist/stash-frontend")
setupUIBox = packr.New("Setup UI Box", "../../ui/setup")
r := chi.NewRouter()

BIN
ui/v2/public/favicon.ico Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -22,7 +22,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Stash</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>

View File

@ -1,6 +1,6 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"short_name": "Stash",
"name": "Stash: Porn Organizer",
"icons": [
{
"src": "favicon.ico",