File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 16
16
"name" : " res"
17
17
}
18
18
],
19
- "scriptFile" : " ../../dist/app.js" ,
19
+ "scriptFile" : " ../../dist/src/ app.js" ,
20
20
"entryPoint" : " HttpTrigger1"
21
21
}
Original file line number Diff line number Diff line change 16
16
"name" : " res"
17
17
}
18
18
],
19
- "scriptFile" : " ../../dist/app.js" ,
19
+ "scriptFile" : " ../../dist/src/ app.js" ,
20
20
"entryPoint" : " HttpTrigger2"
21
21
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " test-plus-plus" ,
3
- "version" : " 1 .0.0" ,
3
+ "version" : " 0 .0.0" ,
4
4
"description" : " " ,
5
5
"scripts" : {
6
6
"build" : " tsc" ,
Original file line number Diff line number Diff line change 1
- import { FunctionApp } from "./future_node_modules/functions/azure-functions"
1
+ import { FunctionApp } from ".. /future_node_modules/functions/azure-functions"
2
2
import { Context } from "@azure/functions"
3
- import { NamedContext } from "./src/ common/interfaces"
4
- import { helloFunction } from "./src/ functions/hello"
5
- import { goodbyeFunction } from "./src/ functions/goodbye"
3
+ import { NamedContext } from "./common/interfaces"
4
+ import { helloFunction } from "./functions/hello"
5
+ import { goodbyeFunction } from "./functions/goodbye"
6
6
var cookieParser = require ( "cookie-parser" ) ;
7
7
8
8
const app = new FunctionApp ( ) ;
@@ -12,7 +12,8 @@ app.function(helloFunction)
12
12
. function ( goodbyeFunction ) ;
13
13
14
14
app . pre ( async ( context : Context ) => {
15
- context . log ( "Processing request" ) ;
15
+ context . log ( '~~ wow middleware ~~' ) ;
16
+ context . log ( `~~ invocation id = ${ context . invocationId } ~~` ) ;
16
17
} ) ;
17
18
18
19
app . pre ( async ( context : NamedContext ) => {
You can’t perform that action at this time.
0 commit comments