mirror of
https://github.com/documenso/documenso.git
synced 2025-11-20 19:51:32 +10:00
fix: wip
This commit is contained in:
@ -22,7 +22,7 @@ app.route('/api/auth', auth);
|
||||
|
||||
// API servers. Todo: Configure max durations, etc?
|
||||
app.route('/api/v1', tsRestHonoApp);
|
||||
app.use('/api/jobs/*', jobsClient.getHonoApiHandler());
|
||||
app.use('/api/jobs/*', jobsClient.getApiHandler());
|
||||
app.use('/api/trpc/*', reactRouterTrpcServer);
|
||||
|
||||
// Unstable API server routes. Order matters for these two.
|
||||
|
||||
@ -73,9 +73,6 @@ export async function getLoadContext(args: GetLoadContextArgs) {
|
||||
* - /favicon.* (Favicon files)
|
||||
* - *.webmanifest (Web manifest files)
|
||||
* - Paths starting with . (e.g. .well-known)
|
||||
*
|
||||
* The regex pattern (?!pattern) is a negative lookahead that ensures the path does NOT match any of these patterns.
|
||||
* The .* at the end matches any remaining characters in the path.
|
||||
*/
|
||||
const config = {
|
||||
matcher: new RegExp(
|
||||
|
||||
@ -15,4 +15,4 @@ server.use(
|
||||
|
||||
const handler = handle(build, server, { getLoadContext });
|
||||
|
||||
serve({ fetch: handler.fetch, port: 3010 });
|
||||
serve({ fetch: handler.fetch, port: 3000 });
|
||||
Reference in New Issue
Block a user