Skip to content

Commit

Permalink
Merge pull request #94 from solo-io/charlesthebird/startupScriptFix
Browse files Browse the repository at this point in the history
startup script fix
  • Loading branch information
Charlesthebird authored Aug 23, 2024
2 parents c2b6812 + 3736715 commit 084bcd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/v0.0.35/startup-script-public-folder-fix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
- type: FIX
issueLink: https://github.com/solo-io/gloo-mesh-enterprise/issues/18336
description: >-
Fixes an issue with the startup script where it didn't create the project/server/public folder.
3 changes: 3 additions & 0 deletions scripts/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ yarn --cwd ./projects/ui build
# Cleanup old server files if they exist.
rm -rf ./projects/server/public/dist || true

# Make sure the public folder is there.
mkdir -p ./projects/server/public || true

# Move the UI build to the server.
mv ./projects/ui/dist ./projects/server/public/dist

Expand Down

0 comments on commit 084bcd6

Please sign in to comment.