mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +01:00
Updated Setting up Dynamic Map with IIS (markdown)
parent
744b6b6812
commit
e524e1d6cb
@ -24,14 +24,23 @@ tilespath: C:\Inetpub\wwwroot\dynmap\tiles
|
||||
|
||||
If everything went alright, you should now find some new `.png` files in `C:\Inetpub\wwwroot\dynmap\tiles\`. You can also go to *http://yourwebserver/dynmap/* in your browser. It should display the map, but also display an error not being able to update (player locations and map changes).
|
||||
|
||||
Open up `C:\Inetpub\wwwroot\dynmap\config.js` in Notepad and change the following line:
|
||||
Open up `C:\Inetpub\wwwroot\dynmap\config.js` in Notepad and uncomment the following section below the line 'For proxying webserver through aspx.':
|
||||
```js
|
||||
updateUrl: 'up/',
|
||||
// For proxying webserver through aspx.
|
||||
url: {
|
||||
configuration: 'up.aspx?path=configuration',
|
||||
update: 'up.aspx?path=world/{world}/?{timestamp}',
|
||||
sendmessage: 'up.aspx?path=sendmessage'
|
||||
},
|
||||
```
|
||||
|
||||
To:
|
||||
Also make sure to comment the section in the top of `config.js`:
|
||||
```js
|
||||
updateUrl: 'up.aspx?path=',
|
||||
// For internal server or proxying webserver.
|
||||
//url : {
|
||||
// configuration : 'up/configuration',
|
||||
// update : 'up/world/{world}/{timestamp}',
|
||||
// sendmessage : 'up/sendmessage'
|
||||
//},
|
||||
```
|
||||
|
||||
Now refresh your browser. It should now display online players on *http://mywebserver/dynmap/*, keeping them up-to-date.
|
||||
|
Loading…
Reference in New Issue
Block a user