はじまりの大地
このコミットが含まれているのは:
@@ -0,0 +1,21 @@
|
||||
const print = require('a-native-example')
|
||||
|
||||
async function register ({ getRouter }) {
|
||||
print('hello world')
|
||||
|
||||
const router = getRouter()
|
||||
|
||||
router.get('/', (req, res) => {
|
||||
print('hello world')
|
||||
res.sendStatus(204)
|
||||
})
|
||||
}
|
||||
|
||||
async function unregister () {
|
||||
return
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
register,
|
||||
unregister
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "peertube-plugin-test-native",
|
||||
"version": "0.0.1",
|
||||
"description": "Plugin test-native",
|
||||
"engine": {
|
||||
"peertube": ">=4.3.0"
|
||||
},
|
||||
"keywords": [
|
||||
"peertube",
|
||||
"plugin"
|
||||
],
|
||||
"homepage": "https://github.com/Chocobozzz/PeerTube",
|
||||
"author": "Chocobozzz",
|
||||
"bugs": "https://github.com/Chocobozzz/PeerTube/issues",
|
||||
"library": "./main.js",
|
||||
"staticDirs": {},
|
||||
"css": [],
|
||||
"clientScripts": [],
|
||||
"translations": {},
|
||||
"dependencies": {
|
||||
"a-native-example": "^1.0.0"
|
||||
}
|
||||
}
|
||||
新しい課題から参照
ユーザをブロックする