前后端分离场景后端需要配置跨域,否则浏览器那端跨域请求会报错。 跨域要配置的: app.all('*', (req, res, next) => { // google需要配置,否则报错cors error res.setHeader('Access-Control-Allow-Credential ...
分类:
其他好文 时间:
2021-04-19 14:12:06
阅读次数:
0
首先github右上角个人点开 然后setting 然后 然后 然后 这个note我是随便填的 下面都勾选了,具体想搞明白各项什么意思的点击read more about... 最后generate token 下面有github文档的友情链接 算了 不会搞友情链接,自行复制一下吧 https:// ...
分类:
数据库 时间:
2021-04-16 11:41:01
阅读次数:
0
问题描述: git push 提交是碰到 git@gitee.com: Permission denied (publickey) 这是因为github/gitee没有设置SSH公钥或公钥失效 1)重新生成ssh ssh-keygen -t rsa -C "1351655382@qq.com" 2) ...
分类:
其他好文 时间:
2021-04-15 12:39:13
阅读次数:
0
1.配置线程 #是否允许并行执行true/false junit.jupiter.execution.parallel.enabled = true #是否支持方法级别多线程same_thread/concurrent junit.jupiter.execution.parallel.mode.de ...
分类:
编程语言 时间:
2021-04-15 12:31:45
阅读次数:
0
先搭建本地YUM源 确认系统版本 [root@moke ~]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@moke ~]# 准备资源: http://mirror.nsc.liu.se/centos-stor ...
分类:
其他好文 时间:
2021-04-15 12:18:08
阅读次数:
0
主要测试了各方式clone的情况: 1. 安装gitlab,配置ip:port。 常规步骤: yum install -y curl policycoreutils-python openssh-server wget https://mirrors.tuna.tsinghua.edu.cn/git ...
分类:
其他好文 时间:
2021-04-15 12:08:39
阅读次数:
0
/** * 跨域请求设置 */ function checkAllowOrigin() { //从配置文件获取允许源域名 $allowOrigin = explode(',', env('app.allow_origin')); if (in_array('*', $allowOrigin)) { ...
分类:
Web程序 时间:
2021-04-14 12:05:15
阅读次数:
0
一、Q:Error connecting to database: Access denied for user ‘zabbix’ @ ‘localhost’ to database ‘zabbix’(PASSWORD:YES) 浏览器输入http://ServerIP/zabbix 查看日志 ta ...
分类:
其他好文 时间:
2021-04-12 12:43:00
阅读次数:
0
#!/usr/bin/python3 import time import hmac import hashlib import base64 import urllib.parse import os timestamp = str(round(time.time() * 1000)) secre ...
分类:
编程语言 时间:
2021-04-12 12:15:47
阅读次数:
0
1045 Access denied for user 'root'@'localhost' (using password:YES) 这个意思是说:用户“root”@本地主机的访问被拒绝 1、首先修改my.ini,在文件中加入skip-grant-tables,重新启动MySQL服务 2、cmd ...
分类:
数据库 时间:
2021-04-12 11:38:52
阅读次数:
0