mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 06:40:39 +00:00
Add comment to explain URI encoding in getClusterKey method
This commit is contained in:
parent
6a361e5b87
commit
1e0f6ff558
@ -16,6 +16,7 @@ export default class ClusterKeyAuthorization {
|
||||
}
|
||||
|
||||
public static getClusterKey(): string {
|
||||
// we encode uri component because a lot of people use special characters in their cluster key secret
|
||||
return encodeURIComponent(ONEUPTIME_SECRET.toString());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user