forked from github/dataease
Merge pull request #1476 from dataease/pr@dev@refactor_switch_base_image
refactor: 切换基础架构镜像
This commit is contained in:
commit
1e20ed8dfd
@ -1,6 +1,6 @@
|
||||
FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre:3.15.0
|
||||
FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre:edge
|
||||
|
||||
RUN echo -e 'http://mirrors.aliyun.com/alpine/v3.15/main/\nhttp://mirrors.aliyun.com/alpine/v3.15/community/' > /etc/apk/repositories
|
||||
RUN echo -e 'http://mirrors.aliyun.com/alpine/edge/main/\nhttp://mirrors.aliyun.com/alpine/edge/community/' > /etc/apk/repositories
|
||||
|
||||
RUN apk add chromium chromium-chromedriver fontconfig --no-cache --allow-untrusted
|
||||
|
||||
|
@ -61,7 +61,7 @@ public class IndexController {
|
||||
|
||||
@GetMapping("/tempMobileLink/{id}/{token}")
|
||||
public void tempMobileLink(@PathVariable("id") String id, @PathVariable("token") String token) {
|
||||
String url = "http://localhost:8081/#preview/" + id;
|
||||
String url = "/#preview/" + id;
|
||||
HttpServletResponse response = ServletUtils.response();
|
||||
Cookie cookie = new Cookie("Authorization", token);
|
||||
cookie.setPath("/");
|
||||
|
Loading…
Reference in New Issue
Block a user