Skip to content

Commit

Permalink
Update vue-tsc to 2.x.x to avoid 'search string not found' error (see v…
Browse files Browse the repository at this point in the history
  • Loading branch information
dispatchrabbi committed Jun 22, 2024
1 parent b8e48d2 commit 5f10749
Show file tree
Hide file tree
Showing 4 changed files with 1,403 additions and 889 deletions.
4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import rateLimit from 'server/lib/middleware/rate-limit.ts';

import apiRouter from 'server/api/index.ts';
import spaRoutes from 'server/lib/middleware/spa-routes.ts';
import { createServer as createViteServer } from 'vite';
import { createServer } from 'vite';

async function main() {
dotenv.config();
Expand Down Expand Up @@ -114,7 +114,7 @@ async function main() {
// Serve the front end using the schmancy HMR vite server.
// This middleware has a catch-all route
winston.debug('Serving the front-end dynamically using vite');
const vite = await createViteServer({
const vite = await createServer({
server: {
middlewareMode: true,
https: env.ENABLE_TLS ? {
Expand Down
Loading

0 comments on commit 5f10749

Please sign in to comment.