This repository was archived by the owner on Jul 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
- import { Appliaction } from '../server/mod.ts'
1
+ import { Application } from '../server/mod.ts'
2
2
3
3
export const helpMessage = `
4
4
Usage:
@@ -14,7 +14,7 @@ Options:
14
14
`
15
15
16
16
export default async function ( workingDir : string , options : Record < string , string | boolean > ) {
17
- const app = new Appliaction ( workingDir , 'production' , Boolean ( options . r || options . reload ) )
17
+ const app = new Application ( workingDir , 'production' , Boolean ( options . r || options . reload ) )
18
18
await app . build ( )
19
19
Deno . exit ( 0 )
20
20
}
Original file line number Diff line number Diff line change 1
- import { Appliaction , parsePortNumber , serve } from '../server/mod.ts'
1
+ import { Application , serve } from '../server/mod.ts'
2
+ import { parsePortNumber } from '../server/util.ts'
2
3
3
4
export const helpMessage = `
4
5
Usage:
@@ -16,6 +17,6 @@ Options:
16
17
17
18
export default async function ( workingDir : string , options : Record < string , string | boolean > ) {
18
19
const port = parsePortNumber ( String ( options . p || options . port || '8080' ) )
19
- const app = new Appliaction ( workingDir , 'development' , Boolean ( options . r || options . reload ) )
20
+ const app = new Application ( workingDir , 'development' , Boolean ( options . r || options . reload ) )
20
21
serve ( 'localhost' , port , app )
21
22
}
Original file line number Diff line number Diff line change 1
- import { Appliaction , parsePortNumber , serve } from '../server/mod.ts'
1
+ import { Application , serve } from '../server/mod.ts'
2
+ import { parsePortNumber } from '../server/util.ts'
2
3
3
4
export const helpMessage = `
4
5
Usage:
@@ -18,6 +19,6 @@ Options:
18
19
export default async function ( workingDir : string , options : Record < string , string | boolean > ) {
19
20
const host = String ( options . hn || options . hostname || 'localhost' )
20
21
const port = parsePortNumber ( String ( options . p || options . port || '8080' ) )
21
- const app = new Appliaction ( workingDir , 'production' , Boolean ( options . r || options . reload ) )
22
+ const app = new Application ( workingDir , 'production' , Boolean ( options . r || options . reload ) )
22
23
serve ( host , port , app )
23
24
}
You can’t perform that action at this time.
0 commit comments