Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] fix(docs): Fix the link and slug (#4555)

roryqic87268ff51d0
diff --git a/docs/security/how-to-authenticate.md b/docs/security/how-to-authenticate.md
index a184218070..9b0b380df5 100644
--- a/docs/security/how-to-authenticate.md
+++ b/docs/security/how-to-authenticate.md
@@ -137,15 +137,15 @@ You can follow the steps to set up an OAuth mode Gravitino server.
3. Open [the JWK URL of the Authorization server](http://localhost:8177/oauth2/jwks) in the browser and you can get the JWK.
- ![jks_response_image](assets/jks.png)
+ ![jks_response_image](../assets/jks.png)
4. Convert the JWK to PEM. You can use the [online tool](https://8gwifi.org/jwkconvertfunctions.jsp#google_vignette) or other tools.
- ![pem_convert_result_image](assets/pem.png)
+ ![pem_convert_result_image](../assets/pem.png)
5. Copy the public key and remove the character `\n` and you can get the default signing key of Gravitino server.
-6. You can refer to the [Configurations](gravitino-server-config.md) and append the configurations to the conf/gravitino.conf.
+6. You can refer to the [Configurations](../gravitino-server-config.md) and append the configurations to the conf/gravitino.conf.
```text
gravitino.authenticators = oauth
@@ -157,7 +157,7 @@ gravitino.authenticator.oauth.serverUri = http://localhost:8177
7. Open [the URL of Gravitino server](http://localhost:8090) and login in with clientId `test`, clientSecret `test`, and scope `test`.
- ![oauth_login_image](assets/oauth.png)
+ ![oauth_login_image](../assets/oauth.png)
8. You can also use the curl command to access Gravitino.
diff --git a/docs/security/how-to-use-cors.md b/docs/security/how-to-use-cors.md
index c124a021ee..243df71f95 100644
--- a/docs/security/how-to-use-cors.md
+++ b/docs/security/how-to-use-cors.md
@@ -1,6 +1,6 @@
---
title: "How to use CORS"
-slug: /security/how-use-cors
+slug: /security/how-to-use-cors
keyword: security cors
license: "This software is licensed under the Apache License version 2."
---
diff --git a/docs/security/how-to-use-https.md b/docs/security/how-to-use-https.md
index ddb7a55320..100af836b9 100644
--- a/docs/security/how-to-use-https.md
+++ b/docs/security/how-to-use-https.md
@@ -87,7 +87,7 @@ bin/keytool -export -alias localhost -keystore localhost.jks -file localhost.cr
bin/keytool -import -alias localhost -keystore jre/lib/security/cacerts -file localhost.crt -storepass changeit -noprompt
```
-5. You can refer to the [Configurations](gravitino-server-config.md) and append the configuration to the conf/gravitino.conf.
+5. You can refer to the [Configurations](../gravitino-server-config.md) and append the configuration to the conf/gravitino.conf.
Configuration doesn't support resolving environment variables, so you should replace `${JAVA_HOME}` with the actual value.
Then, You can start the Gravitino server.