This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<script type="text/javascript" src="./index.js"></script> | |
<script type="text/javascript" src="./service-worker.js"></script> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<video autoplay muted loop playsinline class="video"> | |
<source src="./assets/video/animation.mp4" type="video/mp4"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const createProbot = require('probot') | |
const fs = require('fs') | |
require('dotenv').config() | |
class ProbotRunner { | |
constructor (createProbot, id, secret, privateKey, port, webhookPath, webhookProxy) { | |
this.createProbot = createProbot | |
this.id = id || process.env.APP_ID | |
this.secret = secret || process.env.WEBHOOK_SECRET | |
this.privateKey = privateKey || this.findKey() |