gpt4 book ai didi

postgresql - 在 Chrome 中打开 PgAdmin 4

转载 作者:行者123 更新时间:2023-12-03 17:44:44 25 4
gpt4 key购买 nike

我想在 Chrome 中打开 PgAdmin 4。我右键单击了 Windows 系统托盘中的图标并选择了配置...在浏览器命令输入中,我添加了以下内容:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --app=%URL%
该程序不断加载但不会出现。我该怎么办?

最佳答案

新版本 4.28 有一个奇怪的行为,在 FAQ 中得到解决。 :

When I launch pgAdmin 4 v4.28 or later on Windows, the loading pagenever closes. Why?

pgAdmin 4 v4.28 includes additional security features, one of which isintended to prevent security issues caused by Content Sniffing.

Unfortunately some Windows systems are mis-configured such that thiscauses Javascripts used by pgAdmin to fail to load. Opening thedeveloper tools on your browser will show an error similar to this:

Refused to execute script from'http://127.0.0.1:57313/static/vendor/require/require.min.js?ver=42800'because its MIME type ('text/plain') is not executable, and strictMIME type checking is enabled.

(index):39 Uncaught ReferenceError: require is not defined at(index):39

This will occur when the value of the registry key atHKEY_CLASSES_ROOT\.js\Content Type is set to text/plain. To resolvethe issue, use the Registry Editor and reset the value ofHKEY_CLASSES_ROOT\.js\Content Type to:

text/javascript

Finally, restart the pgAdmin server.

关于postgresql - 在 Chrome 中打开 PgAdmin 4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64974052/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com