Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit f8c6191

Browse files
juristralan-agius4
authored andcommitted
fix(hapi-engine): ng-add schematic
(cherry picked from commit d538993)
1 parent 95c4bb7 commit f8c6191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hapi-engine/schematics/install/files/__serverFileName@stripTsExtension__.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { readFileSync, existsSync } from 'fs';
99
import { AppServerModule } from './src/<%= stripTsExtension(main) %>';
1010

1111
// The Hapi server is exported so that it can be used by serverless functions.
12-
export async function app(): Promise<void> {
12+
export async function app(): Promise<Server> {
1313
const port = process.env.PORT || <%= serverPort %>;
1414
const distFolder = join(process.cwd(), '<%= browserDistDirectory %>');
1515
const server = new Server({

0 commit comments

Comments
 (0)