Adrià Vilanova Martínez | 33a009c | 2024-11-09 22:41:56 +0100 | [diff] [blame^] | 1 | import Script, { ScriptEnvironment, ScriptPage, ScriptRunPhase } from "../../../common/architecture/scripts/Script" |
| 2 | import MWI18nServer from "../../../common/mainWorldI18n/Server"; |
Adrià Vilanova Martínez | 2ba5d8d | 2024-05-04 21:17:16 +0200 | [diff] [blame] | 3 | |
| 4 | export default class MWI18nServerScript extends Script { |
| 5 | // The server should be available as soon as possible, since e.g. the |
| 6 | // XHRProxy already sends a request to the optionsWatcher server as soon as it |
| 7 | // is constructed. |
| 8 | priority = 1; |
| 9 | |
| 10 | page = ScriptPage.CommunityConsole; |
| 11 | environment = ScriptEnvironment.ContentScript; |
| 12 | runPhase = ScriptRunPhase.Start; |
| 13 | |
| 14 | execute() { |
| 15 | new MWI18nServer(); |
| 16 | } |
| 17 | } |