当前位置:网站首页>Cross domain issues of the new version of Google browser
Cross domain issues of the new version of Google browser
2022-06-23 23:45:00 【FHAdmin】
The new version of the firefox Firefox limits 127.0.0.1
When deploying tests locally , Using Firefox requires Front-end Change the service address in the background to http://localhost:8081
The browser also uses http://localhost:8080
Clean up the browser cache when finished , Otherwise it will not take effect
In case of server deployment , hold localhost Change to the actual server IP Or domain name
google browser , Front end and back end stay On the same computer
backstage If the service address in is http://localhost:8081
So when the browser accesses, it also uses http://localhost:8080
If the service address in the background is http://127.0.0.1:8081
So when the browser accesses, it also uses http://127.0.0.1:8080
If it is a domain name or extranet IP, Empathy
backstage If the service address in is http://www.xxx.com:8081
So when the browser accesses, it also uses http://www.xxx.com:8080
The address should be the same , Different ports
google browser , When the front end and the background are not on the same computer
The configuration shown in the figure needs to be modified
( Be careful , Just modify the background Try to clean up the browser cache )
Chrome 91 The settings after version are as follows
find google Chrome Quick start icon , Right click , attribute , Add a string of codes in red ( The scarlet letter is preceded by a space , Otherwise you can't save )
Shortcut -》 The goal is :
"C:\ProgramFiles\Google\Chrome\Application\chrome.exe"--disable-features=SameSiteByDefaultCookies,CookiesWithoutSameSiteMustBeSecure
( The default configuration of the new Google browser has changed , As a result, the cross domain threshold is raised , The front-end and back-end ports are different, and they are also cross domain , If IP Different browser configurations need to be modified . Previous Google browsers didn't have this problem , Maybe later versions will be updated and changed back , Firefox and other non google Kernel browsers don't have this problem ,
therefore , The browser configuration needs to be modified only when the two conditions are met at the same time
- Use google Kernel browser
- Front end and back end are deployed on different servers
In other cases, this configuration does not need to be modified
)
边栏推荐
- Kotlin coroutine asynchronous flow
- 生成式对抗网络(GANs)及变体
- ORB_ Slam3 environment setup and demo demonstration
- 不同物体使用同一材质,有不同的表现
- 【Xilinx AX7103 MicroBalze学习笔记6】MicroBlaze 自定义 IP 核封装实验
- 【HackTheBox】 meow
- 图像分割-数据标注
- Onsaveinstancestate callback opportunity of activity
- What kind of automated test is used for H5 mobile terminal
- Several guesses about the design of Tencent conference number
猜你喜欢

PMP考试相关计算公式汇总!考前必看

Analysis on the advantages and disadvantages of the best 12 project management systems at home and abroad

List<? extends T>和List<?super T>区别

嵌入式接口复习资料

【HackTheBox】 meow

Cs5213 HDMI to VGA with audio signal output scheme
Several cases of index invalidation caused by MySQL

2018/GAN:Self-Attention Generative Adversarial Networks自我注意生成对抗网络

2022 Shandong Health Expo, Jinan International Health Industry Expo, China Nutrition and Health Exhibition

laravel之任务队列
随机推荐
在OpenCloudOS使用snap安装.NET 6
6. STM32 - serial port data transceiver Foundation
1004. number of maximum consecutive 1 III ●●
Androidkotlin comprehensive and detailed class usage grammar learning guide
HDLBits-> Circuits-> Arithmetic Circuitd-> 3-bit binary adder
多门店药品进销存系统源码 大型连锁药店管理系统源码
Thinking (86): master-slave realization idea
laravel之任务队列
CVPR2019/图像翻译:TransGaGa: Geometry-Aware Unsupervised Image-to-Image Translation几何感知的无监督图像到图像的翻译
ORB_ Slam3 environment setup and demo demonstration
2022年信息安全工程師考試知識點:訪問控制
一个人竟然撸了一个网易云音乐云村
E: 无法获得锁 /var/lib/dpkg/lock
不同网络结构的特征也能进行对比学习?蚂蚁&美团&南大&阿里提出跨架构自监督视频表示学习方法CACL,性能SOTA!...
Image segmentation - data annotation
Embedded interface review materials
不同物体使用同一材质,有不同的表现
How to index websites in Google
Stm32 - - - - interruption externe
Go language core 36 lectures (go language practice and application 23) -- learning notes