GetCookiePath util function

This commit is contained in:
0xCA 2023-12-29 15:01:09 +05:00
parent bee5c54127
commit 38e4f5cbec
4 changed files with 12 additions and 16 deletions

View file

@ -854,3 +854,11 @@ func ConcatMultipleSlices(slices ...[]byte) []byte {
return result
}
func GetCookiePath() string {
cookiePath := BasePath
if cookiePath == "" {
cookiePath = "/"
}
return cookiePath
}