Browse Source

fix module URL

master
forest 5 months ago
parent
commit
9e73decf86
4 changed files with 7 additions and 7 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      go.mod
  3. +4
    -4
      package.json
  4. +1
    -1
      static/captcha.js

+ 1
- 1
README.md View File

@ -250,7 +250,7 @@ A boolean variable that `captcha.js` uses internally, so it can know if it has a
If you wanted to integrate 💥PoW! Captcha with a JavaScript driven front-end app, like a React-based app for example, you can install it via npm:
`npm install git+https://git.sequentialread.com/forest/sequentialread-pow-captcha.git`
`npm install git+https://git.sequentialread.com/forest/pow-captcha.git`
and use it like this:


+ 1
- 1
go.mod View File

@ -1,4 +1,4 @@
module git.sequentialread.com/forest/sequentialread-pow-captcha
module git.sequentialread.com/forest/pow-captcha
go 1.16


+ 4
- 4
package.json View File

@ -1,23 +1,23 @@
{
"name": "sequentialread-pow-captcha",
"name": "pow-captcha",
"version": "0.0.1",
"description": "A proof of work based captcha similar to friendly captcha, but lightweight and FLOSS",
"main": "static/captcha.js",
"repository": {
"type": "git",
"url": "git+https://git.sequentialread.com/forest/sequentialread-pow-captcha.git"
"url": "git+https://git.sequentialread.com/forest/pow-captcha.git"
},
"author": "forest johnson <forest.n.johnson@gmail.com>",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://git.sequentialread.com/forest/sequentialread-pow-captcha/issues"
"url": "https://git.sequentialread.com/forest/pow-captcha/issues"
},
"scripts": {
"wasm-build": "cd wasm_build && ./build_wasm.sh",
"wasm_build": "cd wasm_build && ./build_wasm.sh",
"wasmbuild": "cd wasm_build && ./build_wasm.sh"
},
"homepage": "https://git.sequentialread.com/forest/sequentialread-pow-captcha",
"homepage": "https://git.sequentialread.com/forest/pow-captcha",
"keywords": [
"captcha",
"proof of work",


+ 1
- 1
static/captcha.js View File

@ -275,7 +275,7 @@
"a",
{
"class": "sqr-captcha-link",
"href": "https://git.sequentialread.com/forest/sequentialread-pow-captcha",
"href": "https://git.sequentialread.com/forest/pow-captcha",
"target": "_blank"
},
"💥PoW! "


Loading…
Cancel
Save