Renamed Sidebar component and updated Node Version
This commit is contained in:
parent
ac25eb3708
commit
aaad32a51d
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
Reference in a new issue