From ab994fb7eb0b0e949e89dc4ff4d55a5cba21f2b4 Mon Sep 17 00:00:00 2001 From: Shiqi Mei Date: Fri, 19 Jun 2020 12:01:08 +0800 Subject: [PATCH] [FIX] double slashes in avatar url (#17739) --- app/apps/client/RealAppsEngineUIHost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/apps/client/RealAppsEngineUIHost.js b/app/apps/client/RealAppsEngineUIHost.js index e21a458baff..29802587f9b 100644 --- a/app/apps/client/RealAppsEngineUIHost.js +++ b/app/apps/client/RealAppsEngineUIHost.js @@ -11,7 +11,7 @@ export class RealAppsEngineUIHost extends AppsEngineUIHost { constructor() { super(); - this._baseURL = baseURI; + this._baseURL = baseURI.replace(/\/$/, ''); } getUserAvatarUrl(username) {