Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@deepsel/cms-utils

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepsel/cms-utils - npm Package Compare versions

Comparing version
1.9.1
to
1.9.2
+1
-1
dist/common/utils/getDefaultBackendHost.d.ts
/**
* Returns the appropriate default backend host.
* - Server-side (Node/Astro SSR): reads BACKEND_URL env var, falls back to 'http://localhost:8000'
* - Server-side (Node/Astro SSR): reads PUBLIC_URL env var, falls back to 'http://localhost:8000'
* - Browser: '' (empty string = relative URL, routes through nginx)
*/
export declare function getDefaultBackendHost(): string;
/**
* Returns the appropriate default backend host.
* - Server-side (Node/Astro SSR): reads BACKEND_URL env var, falls back to 'http://localhost:8000'
* - Server-side (Node/Astro SSR): reads PUBLIC_URL env var, falls back to 'http://localhost:8000'
* - Browser: '' (empty string = relative URL, routes through nginx)

@@ -9,3 +9,3 @@ */

return '';
return process.env.BACKEND_URL || 'http://localhost:8000';
return process.env.PUBLIC_URL || 'http://localhost:8000';
}
{
"name": "@deepsel/cms-utils",
"version": "1.9.1",
"version": "1.9.2",
"description": "Helper utilities for Deepsel CMS",

@@ -5,0 +5,0 @@ "repository": {