🐛 Add missing build step to dockerfile
This commit is contained in:
@ -12,6 +12,7 @@ RUN npx prisma generate
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./ ./
|
||||
RUN npm run build
|
||||
|
||||
WORKDIR /app/server
|
||||
CMD ["node", "index.js"]
|
@ -61,7 +61,7 @@ export const parsedTimetable = computed(() => {
|
||||
});
|
||||
|
||||
export async function fetchData() {
|
||||
const baseUrl = "http://localhost:3000/api";
|
||||
const baseUrl = "/api";
|
||||
const timetableResponse = await fetch(
|
||||
`${baseUrl}/timetable?class=${timetableClass.value}`
|
||||
);
|
||||
|
Reference in New Issue
Block a user