Renamed Sidebar component and updated Node Version

This commit is contained in:
Neshura 2022-12-14 18:39:39 +01:00
parent ac25eb3708
commit aaad32a51d
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ RUN yarn install --frozen-lockfile
## BUILD STEP
# Rebuild the source code only when needed
FROM node:16-alpine AS builder
FROM node:18-alpine AS builder
WORKDIR /app
@ -23,7 +23,7 @@ COPY . .
RUN yarn build
## RUN STEP
FROM node:16-alpine AS runner
FROM node:18-alpine AS runner
LABEL author="neshura@proton.me"
WORKDIR /usr/src/app

View file

@ -3,7 +3,7 @@ import fsPromises from 'fs/promises'
import path from 'path'
import ReadyOrNotMap from '../../interfaces/ReadyOrNot'
export default async function TobarApi(req: any, res: any) {
export default async function SidebarAPI(req: any, res: any) {
try {
// get list of all folders(maps) in the readyornot folder - maybe there is a cleaner way to do this?
var fs = require('fs')