mirror of https://github.com/stashapp/stash.git
UI V2 Build updates
This commit is contained in:
parent
66d2c5ca04
commit
81177847e3
|
@ -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
|
@ -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()
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.1 KiB |
|
@ -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>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"short_name": "Stash",
|
||||
"name": "Stash: Porn Organizer",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
|
|
Loading…
Reference in New Issue