updated to version 0.1.12
This commit is contained in:
parent
9d1975e24e
commit
99e91c3679
@ -6,7 +6,7 @@
|
|||||||
"authors": [
|
"authors": [
|
||||||
{ "name": "Robin Riis" }
|
{ "name": "Robin Riis" }
|
||||||
],
|
],
|
||||||
"version": "0.1.11",
|
"version": "0.1.12",
|
||||||
"socket": true,
|
"socket": true,
|
||||||
"minimumCoreVersion": 10,
|
"minimumCoreVersion": 10,
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
|
|||||||
@ -12,6 +12,7 @@ Hooks.on("init", async function() {
|
|||||||
|
|
||||||
Hooks.on("ready", async function() {
|
Hooks.on("ready", async function() {
|
||||||
console.log("[puckoprutt] Hello Ready");
|
console.log("[puckoprutt] Hello Ready");
|
||||||
|
ui.notifications.notify("Puckoprutt greets you to the world of: " + game.world.title)
|
||||||
});
|
});
|
||||||
|
|
||||||
Hooks.on("chatMessage", (log, message, data) => {
|
Hooks.on("chatMessage", (log, message, data) => {
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
export class PuckoPruttApi {
|
class PuckoPruttApi {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.apiUrl = "api.puckoprutt.tech"
|
this.apiUrl = "https://api.puckoprutt.tech"
|
||||||
this.schema = this.apiUrl + "/schema"
|
this.schema = this.apiUrl + "/schema/"
|
||||||
}
|
}
|
||||||
|
|
||||||
dagens_lunch(spider) {
|
dagens_lunch(spider) {
|
||||||
return fetch(this.apiUrl + "/dagens_lunch/" + spider, {method: "GET"});
|
return fetch(this.apiUrl + "/dagens_lunch/" + spider + "/", {method: "GET"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export default PuckoPruttApi;
|
||||||
Loading…
x
Reference in New Issue
Block a user