This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-editor.git
The following commit(s) were added to refs/heads/master by this push:
new 5dfff71 fix: update Apache Casbin link
5dfff71 is described below
commit 5dfff716773460e5ca6d8d45271282a14f495d09
Author: Yang Luo <[email protected]>
AuthorDate: Sat Mar 28 12:23:47 2026 +0800
fix: update Apache Casbin link
---
README.md | 2 +-
app/components/editor/casbin-mode/example.ts | 4 ++--
main.js | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 0ad431d..c35ce5c 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ It provides functionality such as syntax highlighting and
code completion, just
Try it at either:
1. **Apache Casbin Editor** (official ASF deployment):
[https://casbin-editor.apache.org/](https://casbin-editor.apache.org/)
-2. Casbin website: [https://casbin.org/editor](https://casbin.org/editor)
+2. Apache Casbin website:
[https://casbin.apache.org/editor](https://casbin.apache.org/editor)
## How it works?
diff --git a/app/components/editor/casbin-mode/example.ts
b/app/components/editor/casbin-mode/example.ts
index 8a0ad38..1e1f03a 100644
--- a/app/components/editor/casbin-mode/example.ts
+++ b/app/components/editor/casbin-mode/example.ts
@@ -339,12 +339,12 @@ g, /book/:id, pen_admin
/**
* Here is custom functions for Casbin.
* Currently, there are built-in globMatch, keyMatch, keyMatch2,
keyMatch3, keyMatch4, regexMatch, ipMatch.
- * See https://casbin.org/docs/function#functions-in-matchers for more
details.
+ * See https://casbin.apache.org/docs/function#functions-in-matchers for
more details.
*/
functions: {},
/**
* The value comes from config.functions, Casbin will not use this
configuration if the value is undefined.
- * See https://casbin.org/docs/rbac#use-pattern-matching-in-rbac for more
details.
+ * See https://casbin.apache.org/docs/rbac#use-pattern-matching-in-rbac
for more details.
* example:
* matchingForGFunction: 'globMatch'
* matchingDomainForGFunction: 'keyMatch'
diff --git a/main.js b/main.js
index 01901df..ad633d9 100644
--- a/main.js
+++ b/main.js
@@ -28,7 +28,7 @@ const createWindow = () => {
win.loadFile(path.join(__dirname, 'out/index.html')).catch((err) => {
console.error('Failed to load local file:', err);
- win.loadURL('http://editor.casbin.org');
+ win.loadURL('https://casbin-editor.apache.org/');
});
win.webContents.on('did-fail-load', async () => {
@@ -36,7 +36,7 @@ const createWindow = () => {
await win.loadFile(path.join(__dirname, 'out/index.html'));
} catch (err) {
console.error('Retry loading local file failed:', err);
- win.loadURL('http://editor.casbin.org');
+ win.loadURL('https://casbin-editor.apache.org/');
}
});
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]