Socket
Socket
Sign inDemoInstall

koa-rtapi

Package Overview
Dependencies
70
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

demoCode/启动服务.bat

1

demo-init.js

@@ -15,2 +15,3 @@ 'use strict'

copy(from + '启动服务.bat', target + '启动服务.bat');
copy(from + 'index.js', target + 'index.js');

@@ -17,0 +18,0 @@ copy(from + 'index.html', target + 'www/index.html');

9

demoCode/index.js

@@ -24,2 +24,3 @@ 'use strict'

/** 启动服务 */

@@ -32,8 +33,10 @@ kapp.use(require('koa2-cors')()) // 开启跨域

// 提示
/** 提示信息 */
console.log(`
-----------------------------------
[demo] -> http://127.0.0.1:${cfg.port}/
[exit] -> ctrl + c
- 服务已启动
- 地址:http://127.0.0.1:${cfg.port}/
- 退出:ctrl + c
-----------------------------------
`);
{
"name": "koa-rtapi",
"version": "1.1.0",
"version": "1.1.1",
"description": "koa api in rtworld company",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc