nextemos 4.1.8 → 4.2.0
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/helpers/cdn.js +4 -4
- package/package.json +1 -2
package/dist/helpers/cdn.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const html_entities_1 = require("html-entities");
|
|
4
|
-
const CDN_URL = process.env.CDN_URL || "https://images.proj-e.com";
|
|
5
|
-
const VIDEO_CDN_URL = process.env.VIDEO_CDN_URL || CDN_URL;
|
|
6
|
-
const CDN_PROVIDER = process.env.CDN_PROVIDER;
|
|
7
|
-
const THUMBOR_SOURCE = process.env.THUMBOR_SOURCE;
|
|
4
|
+
const CDN_URL = process.env.CDN_URL || process.env.NEXT_PUBLIC_CDN_URL || "https://images.proj-e.com";
|
|
5
|
+
const VIDEO_CDN_URL = process.env.VIDEO_CDN_URL || process.env.NEXT_PUBLIC_VIDEO_CDN_URL || CDN_URL;
|
|
6
|
+
const CDN_PROVIDER = process.env.CDN_PROVIDER || process.env.NEXT_PUBLIC_CDN_PROVIDER;
|
|
7
|
+
const THUMBOR_SOURCE = process.env.THUMBOR_SOURCE || process.env.NEXT_PUBLIC_THUMBOR_SOURCE;
|
|
8
8
|
// CDN işlemleri için kullanılan nesne
|
|
9
9
|
const cdn = {
|
|
10
10
|
// CDN URL'sini döndüren özellik
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextemos",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "For helpers and hooks used in NextJS projects",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
"nextemos"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"consola": "^3.2.3",
|
|
42
41
|
"html-entities": "^2.5.2"
|
|
43
42
|
}
|
|
44
43
|
}
|