acweb
acweb copied to clipboard
Config import not working
When trying to import a config from server and entry ini files, I get ...
Uncaught ReferenceError: sToB is not defined
... in checkImportableConfigs().
It looks like the build has created some invalid syntax out of that sToB closure?
@venyii might know what this means?
Hey, I haven't used this project for a while, but taking a look at the code I'd assume properly declaring the sToB variable (var sToB = ...) might prevent webpack (or whoever does it) from removing it
https://github.com/assetto-corsa-web/acweb/blob/7bfa1708e83fd8436982d95636f449b4afc3a2a1/public/src/pages/configuration.vue#L1152
I'll do that and publish a new version.