Open ramfattah opened 1 year ago
🔗 Related Issues: https://github.com/microsoft/BotFramework-WebChat/issues/4871, https://github.com/microsoft/BotFramework-WebChat/issues/4872, https://github.com/microsoft/BotFramework-WebChat/issues/4873
I've identified these issues are all related to the k.direct-line-token sample. I'm currently working on a fix to address all three issues together.
Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
Unrelated
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
Browser: Edge (latest)
Which area does this issue affect?
Protocol or service
What is the public URL for the website?
No response
Please describe the bug
The wildcard route (/*/) defined in index.js is causing an error due to improper formatting for Restify.
Do you see any errors in console log?
How to reproduce the issue?
What do you expect?
The server should start without any errors and handle requests to all routes.
What actually happened?
Server startup failed due to the wildcard route issue in index.js.
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
No response
Additional context
Restify (or its underlying router) expects any wildcard * to be the last character in the route path.