mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-28 09:03:53 +00:00
4.8.11 test (#2843)
* feat: app version test * update doc * fix: paging num error * fix: doc api domain * rename variable * perf: memment node min size
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export const strToBase64 = (str: string, prefix: string) => {
|
||||
export const strToBase64 = (str: string, prefix: string = '') => {
|
||||
const base64_string = Buffer.from(str, 'utf-8').toString('base64');
|
||||
|
||||
return `${prefix}${base64_string}`;
|
||||
|
Reference in New Issue
Block a user