mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 14:04:25 -05:00
use modded support
This commit is contained in:
parent
763f2536f8
commit
b419c62ff3
@ -21,8 +21,8 @@ class Layers {
|
|||||||
this.layers = [];
|
this.layers = [];
|
||||||
|
|
||||||
Logger.verbose('Layers', 1, 'Pulling layers...');
|
Logger.verbose('Layers', 1, 'Pulling layers...');
|
||||||
const response = await axios.get(
|
const response = await axios.post( // Change get to post for mod support
|
||||||
'https://raw.githubusercontent.com/Squad-Wiki/squad-wiki-pipeline-map-data/master/completed_output/_Current%20Version/finished.json'
|
'http://hub.afocommunity.com/api/layers.json', [0, 1959152751]
|
||||||
);
|
);
|
||||||
|
|
||||||
for (const layer of response.data.Maps) {
|
for (const layer of response.data.Maps) {
|
||||||
|
Loading…
Reference in New Issue
Block a user