casdoor / casdoor-dotnet-sdk

.NET client SDK for Casdoor
https://github.com/casdoor/casdoor
Apache License 2.0
28 stars 25 forks source link

Can't set port in Casdoor url #37

Closed MadL1me closed 1 year ago

MadL1me commented 1 year ago

When using casdoor for local development, there is cases, when casdoor cannot be published on 7001 port.

I thought, it would work, if I define port in the Endpoint, like this:

image

But it didn't worked, it still uses 7001 port. How this can be avoided?

casbin-bot commented 1 year ago

@seriouszyx @ComradeProgrammer @Resulte

hsluoyz commented 1 year ago

@MadL1me hi, why close it?

MadL1me commented 1 year ago

@hsluoyz sorry, I mistaken that problem was fixed for me. I was tired and forget at the start of the day, that I fixed it yesterday evening by deploying Casdoor localy on 7001 port. The problem still exists

If you accept contributions, I can implement this feature

hsluoyz commented 1 year ago

@MadL1me please make a PR

2236721325 commented 1 year ago

When using casdoor for local development, there is cases, when casdoor cannot be published on 7001 port.

I thought, it would work, if I define port in the Endpoint, like this:

image

But it didn't worked, it still uses 7001 port. How this can be avoided?

May be you should clear your browser's cookies and run it again.

hsluoyz commented 1 year ago

@MadL1me did you restart the MVC application and reload the page? The changes in appsettings.json should have taken effect after you refresh the web page in browser

T$E}$9~$QS}430TE%Z8CGQ

hsluoyz commented 1 year ago

Closed as resolved