Fixing android server issue.

This commit is contained in:
2026-01-01 09:07:35 +01:00
parent 559b47264d
commit 4c900ca935

View File

@@ -38,6 +38,8 @@ try {
banner: {
js: `
import { createRequire } from 'module';
import { fileURLToPath } from 'url';
import { dirname } from 'path';
const require = createRequire(import.meta.url);
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);