Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import { createRequire } from 'module';
|
| 2 |
import os from 'os';
|
|
|
|
| 3 |
const express = require("express");
|
| 4 |
const fs = require("fs");
|
| 5 |
const path = require("path");
|
|
|
|
| 1 |
import { createRequire } from 'module';
|
| 2 |
import os from 'os';
|
| 3 |
+
const require = createRequire(import.meta.url);
|
| 4 |
const express = require("express");
|
| 5 |
const fs = require("fs");
|
| 6 |
const path = require("path");
|