Creating two FastCGI apis in one program #236
-
Hi, I want to create two FastCGI APIs that perform separate tasks in my program. I followed the |
Beta Was this translation helpful? Give feedback.
Answered by
pataxis
May 14, 2024
Replies: 1 comment
-
You can specify a second CGI end-point in the manifest.json. "configuration": {
"httpConfig": [
{
"access": "admin",
"name": "first.cgi",
"type": "fastCgi"
},
{
"access": "viewer",
"name": "second.cgi",
"type": "fastCgi"
},
]
} Then you can redirect calls from different end-points to different parts of your program. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ThenoobMario
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can specify a second CGI end-point in the manifest.json.
Then you can redirect calls from different end-points to different parts of your program.