Merge branch 'NebulaServices:main' into main

This commit is contained in:
Green! 2022-12-09 07:50:55 -05:00 committed by GitHub
commit 9ddbb1fa41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 9 deletions

4
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,4 @@
# These are supported funding model platforms
patreon: nebuladevs
ko_fi: nebulaa

View file

@ -1,13 +1,7 @@
FROM node:18
FROM node:alpine
WORKDIR /usr/src/app
COPY . .
RUN npm install
RUN npm ci
EXPOSE 3000
CMD ["npm", "start"]

View file

@ -5,3 +5,6 @@ services:
build: .
container_name: nebula
restart: unless-stopped
ports:
# DO NOT CHANGE 3000!
- your port here:3000

View file

@ -776,9 +776,9 @@ function link(_link) {
img.href =
"https://ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png"
doc.title = getRandomName()
var currentLink = link.slice(0, link.length - 1)
var currentLink = _link.slice(0, _link.length - 1)
iframe.src =
currentLink + "/service/go/" + __uv$config.encodeUrl(_link)
location.origin + "/service/go/" + __uv$config.encodeUrl(currentLink)
style.position = "fixed"
style.top = style.bottom = style.left = style.right = 0
style.border = style.outline = "none"