Skip to content

Commit

Permalink
Dragging map should reset hash location
Browse files Browse the repository at this point in the history
Closes #99
  • Loading branch information
AlexMacocian committed Aug 20, 2024
1 parent 6eb902c commit 7f6af33
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docker-deploy-nodejs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Push NodeJS Server

on:
push:
branches: [ master ]
paths:
- "GuildWarsPartySearch.NodeJSServer/**"
- ".github/workflows/docker-deploy-nodejs.yaml"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v2

- name: Install sshpass
run: sudo apt-get update && sudo apt-get install -y sshpass

- name: Redeploying content
shell: pwsh
run: |
echo "Running redeploy.sh"
sshpass -p "${{ secrets.HOST_PASS }}" ssh -o StrictHostKeyChecking=no ${{ secrets.HOST_USER }}@${{ secrets.HOST_ADDRESS }} "cd partysearchserver_nodejs/ && ./redeploy.sh"
1 change: 1 addition & 0 deletions GuildWarsPartySearch.NodeJSServer/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ async function loadMap(continent) {
}).on('click focus movestart', function () {
toggleElement(menu,false);
if (!navigating) {
window.location.hash = '';
toggleElement(partyWindow,false);
}
});
Expand Down

0 comments on commit 7f6af33

Please sign in to comment.