mirror of
https://github.com/palxiao/poster-design.git
synced 2025-07-15 16:02:19 +08:00
code: cahnge domain
This commit is contained in:
parent
b5ee08609d
commit
b221cbb522
@ -45,7 +45,7 @@ apt-get update
|
||||
apt-get install -y google-chrome-stable // 安装最新稳定版谷歌浏览器
|
||||
```
|
||||
|
||||
> 其它系统自行搜索如何安装Chrome,推荐使用Docker部署,本项目部署[参考说明](https://xp.palxp.com/#/articles/1689319644311?id=docker%e5%ae%b9%e5%99%a8)。
|
||||
> 其它系统自行搜索如何安装Chrome,推荐使用Docker部署,本项目部署[参考说明](https://xp.palxp.cn/#/articles/1689319644311?id=docker%e5%ae%b9%e5%99%a8)。
|
||||
|
||||
### 生成 API 文档
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2022-02-01 13:41:59
|
||||
* @Description: 配置文件
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditTime: 2023-09-04 14:09:51
|
||||
* @LastEditors: ShawnPhang <https://m.palxp.cn>
|
||||
* @LastEditTime: 2023-09-07 23:42:43
|
||||
*/
|
||||
const isDev = process.env.NODE_ENV === 'development'
|
||||
|
||||
@ -17,7 +17,7 @@ exports.executablePath = '/opt/google/chrome-unstable/chrome',
|
||||
/**
|
||||
* 前端绘制页地址
|
||||
*/
|
||||
exports.drawLink = isDev ? 'http://localhost:3000/draw' : 'https://design.palxp.com/draw'
|
||||
exports.drawLink = isDev ? 'http://localhost:3000/draw' : 'https://design.palxp.cn/draw'
|
||||
|
||||
/**
|
||||
* 截图并发数上限
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2020-07-22 20:13:14
|
||||
* @Description: 接口名称
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditors: ShawnPhang <site: m.palxp.cn>
|
||||
* @LastEditTime: 2023-07-27 17:51:53
|
||||
*/
|
||||
let path = '/api';
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2020-07-22 20:13:14
|
||||
* @Description: 路由
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditors: ShawnPhang <site: m.palxp.cn>
|
||||
* @LastEditTime: 2023-07-27 17:51:36
|
||||
*/
|
||||
const rExpress = require('express');
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2022-02-01 13:41:59
|
||||
* @Description:
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditors: ShawnPhang <site: m.palxp.cn>
|
||||
* @LastEditTime: 2023-07-06 10:19:18
|
||||
*/
|
||||
const express = require('express')
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2020-07-22 20:13:14
|
||||
* @Description:
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditors: ShawnPhang <site: m.palxp.cn>
|
||||
* @LastEditTime: 2023-09-04 14:08:10
|
||||
*/
|
||||
const { saveScreenshot } = require('../utils/download-single.ts')
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2021-09-30 14:47:22
|
||||
* @Description: 下载图片(单浏览器版,适用于低配置服务器)
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditors: ShawnPhang <site: m.palxp.cn>
|
||||
* @LastEditTime: 2023-07-27 18:38:33
|
||||
*/
|
||||
const isDev = process.env.NODE_ENV === 'development'
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2021-09-30 14:47:22
|
||||
* @Description: 下载图片(多标签页版本,不建议在低配置服务器中使用)
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditors: ShawnPhang <site: m.palxp.cn>
|
||||
* @LastEditTime: 2023-07-17 18:05:31
|
||||
*/
|
||||
const isDev = process.env.NODE_ENV === 'development'
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2021-12-24 18:09:35
|
||||
* @Description: 异步队列
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditors: ShawnPhang <site: m.palxp.cn>
|
||||
* @LastEditTime: 2023-07-06 10:19:40
|
||||
*/
|
||||
interface Queue {
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2021-12-24 17:51:15
|
||||
* @Description: 超时中间件
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditors: ShawnPhang <site: m.palxp.cn>
|
||||
* @LastEditTime: 2023-07-05 20:17:00
|
||||
*/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: ShawnPhang
|
||||
* @Date: 2022-06-09 17:54:26
|
||||
* @Description: 设备预设列表
|
||||
* @LastEditors: ShawnPhang <site: book.palxp.com>
|
||||
* @LastEditors: ShawnPhang <site: m.palxp.cn>
|
||||
* @LastEditTime: 2023-06-28 00:22:30
|
||||
*/
|
||||
const DevicesNames = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user