Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@abtnode/blocklet-services
Advanced tools
Aggregator to mount all blocklet services and make them work together.
yarn add @abtnode/blocklet-service
Then:
const createServer = require('@abtnode/service-server');
const ABTNode = require('@abtnode/core');
const node = ABTNode({ ...nodeOptions });
const server = createServer(node, { ...globalOptions });
node.onReady(() => {
server.listen(5000, () => {
console.log('ABT Node Service server ready on port 5000');
});
});
dataDir
, the loader and each service can have their own options, and the loader options are merged into service optionsPORT=3040
SKIP_PREFLIGHT_CHECK=true
# server only
ABT_NODE_SESSION_TTL="1d"
ABT_NODE_MODE="production"
ABT_NODE_SERVICE_PORT="3041"
# this should point to the data directory of node
ABT_NODE_DATA_DIR="/Users/wangshijun/Develop/arcblock/abt-node/.abtnode"
# both server and client
ABT_NODE_ROUTER_PROVIDER="nginx"
ABT_NODE_ADMIN_PATH="/admin"
ABT_NODE_NAME="ABT Node (Dev.Shijun)"
ABT_NODE_DESCRIPTION="Web Interface to manage your ABT Node"
ABT_NODE_DID="zNKaT2cjMMW4Js3hnBWUKPcdboQqrPUTWRat"
ABT_NODE_SERVICE_URL="http://192.168.199.142:3041"
# This should be updated to use a running blocklet in your node
TEST_BLOCKLET_DID="z8ia4e5vAeDsQEE2P26bQqz9oWR1Lxg9qUMaV"
TEST_BLOCKLET_URL="http://127.0.0.1:8090"
You need 2 terminal windows to start the client and server separately:
cd services/login
DEBUG=@abtnode/*,@arcblock/* npm run start:daemon
DEBUG=@abtnode/* npm run start:client
Now, you are ready to hacking the login service.
dependencies
devDependencies
FAQs
Provide unified services for every blocklet
We found that @abtnode/blocklet-services demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.