Commit 1bc0b392 by Jeong Gilmo

- チャット

・ユーザプロファイルのイメージの保存場所に対して修正
parent 982ab871
const SERVER_URL = "http://192.168.1.22:3000" const SERVER_URL = "Node Server Address"
const socket = io(SERVER_URL); const socket = io(SERVER_URL);
// 招待するメンバーを保存する変数 // 招待するメンバーを保存する変数
...@@ -86,7 +86,7 @@ function isLandscapeMode(){ ...@@ -86,7 +86,7 @@ function isLandscapeMode(){
//userProfileImagePathが使えるpathかをcheckしてpathをreturn //userProfileImagePathが使えるpathかをcheckしてpathをreturn
function profileImgPathValidCheck(path) { function profileImgPathValidCheck(path) {
if(path == undefined || path.includes('acms/images/') == false) { if (path == undefined || path.includes('mnt/nas/') == false) {
path = './images/user-profile.png' path = './images/user-profile.png'
} }
return path return path
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment