Tweak layout of config examples

This commit is contained in:
James Lyne 2022-02-27 21:02:04 +00:00
parent 625e44a048
commit 0a48b44e4f

View File

@ -29,18 +29,30 @@
// By default LiveAtlas looks for a dynmap standalone/config.js file // By default LiveAtlas looks for a dynmap standalone/config.js file
// This configuration can be used instead to support Pl3xmap and Squaremap installations as well as multiple servers (external webserver required) // This configuration can be used instead to support Pl3xmap and Squaremap installations as well as multiple servers (external webserver required)
// To configure multiple servers, see https://github.com/JLyne/LiveAtlas/wiki/Configuring-Multiple-Servers. // To configure multiple servers, see https://github.com/JLyne/LiveAtlas/wiki/Configuring-Multiple-Servers.
// Example Squaremap internal webserver configuration
// servers: { // servers: {
// Squaremap internal webserver configuration
// squaremap: { // squaremap: {
// squaremap: window.location.pathname // squaremap: window.location.pathname
// }, // },
// },
// Pl3xmap internal webserver configuration // Example Pl3xmap internal webserver configuration
// servers: {
// pl3xmap: { // pl3xmap: {
// pl3xmap: window.location.pathname // pl3xmap: window.location.pathname
// }, // },
// },
// Dynmap internal webserver configuration without using standalone/config.js // Example Overviewer configuration
// servers: {
// overviewer: {
// overviewer: window.location.pathname
// },
// },
// Example Dynmap internal webserver configuration without using standalone/config.js
// servers: {
// dynmap: { // dynmap: {
// dynmap: { // dynmap: {
// configuration: 'standalone/dynmap_config.json?_={timestamp}', // configuration: 'standalone/dynmap_config.json?_={timestamp}',
@ -52,8 +64,10 @@
// markers: 'tiles/' // markers: 'tiles/'
// } // }
// }, // },
// },
// Multiple Dynmap servers on external webserver configuration // Example multiple Dynmap servers on external webserver configuration
// servers: {
// creative: { // creative: {
// label: 'Creative', // label: 'Creative',
// dynmap: { // dynmap: {