🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

gitbook-plugin-login

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-login - npm Package Compare versions

Comparing version
1.0.6
to
1.0.7
+3
-2
assets/plugin.js

@@ -8,6 +8,7 @@ require(['gitbook', 'jQuery'], function(gitbook, $) {

$.get(checkLoginApi, function({data: {body}}) {
if (!body) window.location.replace(loginWebUrl);
$.get(checkLoginApi, function(data) {
console.log(data)
if (!data.body) window.location.replace(loginWebUrl);
});
});
});
+1
-1
{
"name": "gitbook-plugin-login",
"version": "1.0.6",
"version": "1.0.7",
"description": "gitbook登陆插件",

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