Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
Deskfan
node v14.20.1
version:
1.0.0
endpoint
share
tweet
const content = await require('got')('https://gitlab.com/api/v4/projects/13917332/repository/files/main.js/raw?ref=master').text(); exports.endpoint = (req, res) => { res.setHeader('Content-Type', 'text/javascript'); res.end(content); }
Loading…
no comments
sign in
to comment