Skip to content

Commit

Permalink
feat: use demo site Casdoor config
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed Dec 30, 2023
1 parent 1a6b864 commit cd0c2f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions conf/app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ driverName = mysql
dataSourceName = root:123@tcp(localhost:3306)/
dbName = casnode
domain = "forum.casbin.com"
casdoorDbName = casdoor
casdoorEndpoint = https://door.casdoor.com
; casdoorEndpoint = http://localhost:8000
clientId = 014ae4bd048734ca2dea
clientSecret = f26a4115725867b7bb7b668c81e1f8f7fae1544d
casdoorOrganization = "casbin"
casdoorApplication = "app-casnode"
casdoorDbName =
casdoorStorageEndpoint = "https://cdn.casbin.com/"
casdoorEndpoint = http://localhost:8000
clientId = 014ae4bd048734ca2dea
clientSecret = xxx
httpProxy = "127.0.0.1:10808"
initScore = 2000
enableNestedReply = true
Expand Down
4 changes: 2 additions & 2 deletions web/src/Conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// limitations under the License.

export const AuthConfig = {
// serverUrl: "https://door.casbin.com",
serverUrl: "http://localhost:7001",
serverUrl: "https://door.casdoor.com",
// serverUrl: "http://localhost:7001",
clientId: "014ae4bd048734ca2dea",
organizationName: "casbin",
appName: "app-casnode",
Expand Down

0 comments on commit cd0c2f2

Please sign in to comment.