mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
build node assets and no trailing admin slash
This commit is contained in:
parent
1087328248
commit
15b1a426e4
3
src/Admin/build.sh
Normal file → Executable file
3
src/Admin/build.sh
Normal file → Executable file
@ -9,6 +9,9 @@ echo -e "\nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Clean"
|
||||
dotnet clean $DIR/Admin.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
echo "Node Build"
|
||||
npm --prefix $DIR install $DIR
|
||||
gulp --gulpfile $DIR/gulpfile.js build
|
||||
echo "Publish"
|
||||
dotnet publish $DIR/Admin.csproj -f netcoreapp2.0 -c "Release" -o $DIR/obj/Docker/publish
|
||||
|
||||
|
@ -194,8 +194,8 @@ server {{
|
||||
proxy_pass http://icons/;
|
||||
}}
|
||||
|
||||
location /admin/ {{
|
||||
proxy_pass http://admin:5000/admin/;
|
||||
location /admin {{
|
||||
proxy_pass http://admin:5000;
|
||||
}}
|
||||
}}");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user