@fileverse/api 0.0.8 → 0.0.9
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.
- package/dist/cli/index.js +6 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cloudflare.js +17862 -0
- package/dist/cloudflare.js.map +1 -0
- package/dist/commands/index.js +6 -1
- package/dist/commands/index.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/worker.js +6 -1
- package/dist/worker.js.map +1 -1
- package/package.json +4 -3
package/dist/worker.js
CHANGED
|
@@ -111,7 +111,12 @@ var init_config = __esm({
|
|
|
111
111
|
init_constants();
|
|
112
112
|
projectEnvPath = path2.join(process.cwd(), "config", ".env");
|
|
113
113
|
userEnvPath = path2.join(os.homedir(), ".fileverse", ".env");
|
|
114
|
-
|
|
114
|
+
if (typeof globalThis.process !== "undefined" && typeof globalThis.process.cwd === "function") {
|
|
115
|
+
try {
|
|
116
|
+
loadConfig(false);
|
|
117
|
+
} catch {
|
|
118
|
+
}
|
|
119
|
+
}
|
|
115
120
|
config = {
|
|
116
121
|
...STATIC_CONFIG,
|
|
117
122
|
get SERVICE_NAME() {
|