Skip to content

Commit 4888a23

Browse files
committed
Add localhost to CEF whitelist
1 parent dfc2710 commit 4888a23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Client/cefweb/CWebCore.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,10 @@ void CWebCore::InitialiseWhiteAndBlacklist ( bool bAddHardcoded, bool bAddDynami
262262
if ( bAddDynamic )
263263
{
264264
// Hardcoded whitelist
265-
static SString whitelist[] = {
265+
static SString whitelist[] = {
266266
"google.com", "youtube.com", "www.youtube-nocookie.com", "vimeo.com", "player.vimeo.com", "code.jquery.com",
267267
"myvideo.com", "mtasa.com", "multitheftauto.com", "mtavc.com", "www.googleapis.com", "ajax.googleapis.com",
268+
"localhost", "127.0.0.1"
268269
};
269270

270271
// Hardcoded blacklist

0 commit comments

Comments
 (0)