Add comment to explain URI encoding in getClusterKey method

This commit is contained in:
Simon Larsen 2024-11-20 15:29:36 +00:00
parent 6a361e5b87
commit 1e0f6ff558
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -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());
}