adminforth 2.4.0-next.3 → 2.4.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,10 +57,7 @@ export const admin = new AdminForth({
57
57
  ],
58
58
  });
59
59
 
60
- const currentFilePath = fileURLToPath(import.meta.url);
61
- const executedFilePath = path.resolve(process.argv[1]);
62
-
63
- if (currentFilePath === executedFilePath) {
60
+ if (fileURLToPath(import.meta.url) === path.resolve(process.argv[1])) {
64
61
  const app = express();
65
62
  app.use(express.json());
66
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.3",
3
+ "version": "2.4.0-next.4",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",