Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bkui-cli-template-webpack4-saas

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bkui-cli-template-webpack4-saas - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

package.json
{
"name": "bkui-cli-template-webpack4-saas",
"version": "0.1.6",
"version": "0.1.7",
"description": "bkui-cli-template-webpack4-saas",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -20,4 +20,3 @@ ## 配置说明

- 蓝鲸 SaaS 应用中,SITE_URL 的作用是设置**路由的根路径以及 ajax 异步请求地址前缀**。
- 非蓝鲸 SaaS 应用中,SITE_URL 的作用**仅仅只是设置路由的根路径**,ajax 异步请求地址前缀由 [AJAX_URL_PREFIX](#/question-explain?anchor=13.-ajax_url_prefix) 配置。
- 在蓝鲸 SaaS 应用和非蓝鲸 SaaS 应用中,SITE_URL 的作用均是**设置路由的根路径**。

@@ -24,0 +23,0 @@ 下面看一个简单的例子理解一下(**假设您部署的蓝鲸社区版/企业版对应域名是:http://www.bking.com,本地开发的地址为 http://local-dev.bking.com**):

@@ -75,3 +75,3 @@ ## bkui init 命令行问题说明

- 此配置默认值为 `http://localhost:8080`(`${LOCAL_DEV_URL}:${LOCAL_DEV_PORT}`)
- ajax 完整的请求地址前缀由 `AJAX_URL_PREFIX` 和 [SITE_URL](#/config-explain?anchor=site_url) 拼接得到
- ajax 完整的请求地址前缀就是 `AJAX_URL_PREFIX`
- 非蓝鲸 SaaS 应用

@@ -78,0 +78,0 @@ - 此配置默认值为 `http://localhost:8080/api`(`${LOCAL_DEV_URL}:${LOCAL_DEV_PORT}/api`)

@@ -21,3 +21,3 @@ /**

headers: { 'X-REQUESTED-WITH': 'XMLHttpRequest' },
baseURL: AJAX_URL_PREFIX + window.PROJECT_CONFIG.SITE_URL
baseURL: AJAX_URL_PREFIX
})

@@ -24,0 +24,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc