command
module
Version:
v0.0.0-...-3f1a849
Opens a new window with list of versions in this module.
Published: Jan 15, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
1. Just Deploy the same on Heroku
2. Paste PORT to Heroku
Go to heroku dashboard, go to "Setting" -> "Config Variables".
- Add "Config Vars"
- Name -> "PORT"
- Value use
80
.
Use
const addScript = (src) => {
var elem = document.createElement("script");
elem.src = src;
document.head.appendChild(elem);
}
const getData = (data) => {
conosle.log(data)
}
addScript("https://APP_ADDRESS.herokuapp.com/data?url=http://habr.ru&callback=getData")
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.