takes
takes copied to clipboard
Wrong url discovery on FkRegex
I'm not able to find url /api/module/used in this case:
new FkRegex(
"/api/module/used",
new TkFork(
new FkMethods("GET", new TkGetModulesUsedByCompany(source))
)
),
new FkRegex(
"/api/module/used-by-user",
new TkFork(
new FkMethods("GET", new TkGetAllModulesUsedByUser(source))
)
)
It looks like /api/module/used-by-user hides the first one.
@baudoliver7 this example works fine
new FtBasic(
new TkFork(
new FkRegex(
"/api/module/used",
new TkFork(
new FkMethods("GET", new RsText("used"))
)
),
new FkRegex(
"/api/module/used-by-user",
new TkFork(
new FkMethods("GET", new RsText("used-by-user"))
)
)
),
8080
).start(Exit.NEVER);
If everything is fine, can you close the issue then please? I am choosing the tasks to solve, but too many issues confuse me quite easily(and most likely many others too)