use modded support

This commit is contained in:
Skillet 2023-03-02 02:21:25 -05:00 committed by GitHub
parent 763f2536f8
commit b419c62ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {