Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
psoho
fast-poster
提交
a4422101
F
fast-poster
项目概览
psoho
/
fast-poster
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
fast-poster
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a4422101
编写于
10月 17, 2023
作者:
物有本木
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v2.17.1
- 修复js-sdk跨域访问问题
上级
86a7aa8d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
5 deletion
+5
-5
README.en.md
README.en.md
+1
-1
README.md
README.md
+1
-1
server/fast.py
server/fast.py
+2
-2
server/static/index.html
server/static/index.html
+1
-1
未找到文件。
README.en.md
浏览文件 @
a4422101
...
...
@@ -6,7 +6,7 @@
<img
alt=
"csharp"
src=
"https://img.shields.io/badge/language-python-yellow.svg"
>
<img
alt=
"csharp"
src=
"https://img.shields.io/badge/language-vue-brightgreen.svg"
>
<img
alt=
"license"
src=
"https://img.shields.io/badge/license-MIT-blue.svg"
>
<img
alt=
"version"
src=
"https://img.shields.io/badge/version-2.17.
0
-brightgreen"
>
<img
alt=
"version"
src=
"https://img.shields.io/badge/version-2.17.
1
-brightgreen"
>
</p>
## Introduction
...
...
README.md
浏览文件 @
a4422101
...
...
@@ -6,7 +6,7 @@
<img
alt=
"csharp"
src=
"https://img.shields.io/badge/language-python-yellow.svg"
>
<img
alt=
"csharp"
src=
"https://img.shields.io/badge/language-vue-brightgreen.svg"
>
<img
alt=
"license"
src=
"https://img.shields.io/badge/license-MIT-blue.svg"
>
<img
alt=
"version"
src=
"https://img.shields.io/badge/version-2.17.
0
-brightgreen"
>
<img
alt=
"version"
src=
"https://img.shields.io/badge/version-2.17.
1
-brightgreen"
>
</p>
## 介绍
...
...
server/fast.py
浏览文件 @
a4422101
...
...
@@ -20,7 +20,7 @@ class BaseHandler(RequestHandler):
origin_url
=
self
.
request
.
headers
.
get
(
'Origin'
)
if
not
origin_url
:
origin_url
=
'*'
self
.
set_header
(
'Access-Control-Allow-Methods'
,
'POST, PUT, DELETE, GET, OPTIONS'
)
self
.
set_header
(
'fastposter'
,
'fastposter/v2.17.
0
'
)
self
.
set_header
(
'fastposter'
,
'fastposter/v2.17.
1
'
)
self
.
set_header
(
'Access-Control-Allow-Credentials'
,
'true'
)
self
.
set_header
(
'Access-Control-Allow-Origin'
,
origin_url
)
self
.
set_header
(
'Access-Control-Allow-Headers'
,
'x-requested-with,token,Content-type,Client-Type,Client-Version'
)
...
...
@@ -213,7 +213,7 @@ if __name__ == "__main__":
|_| \__,_||___/ \__|| .__/ \___/ |___/ \__| \___||_|
| |
|_|
fastposter(v2.17.
0
)
fastposter(v2.17.
1
)
https://fastposter.net/doc/
'''
PORT
=
5000
...
...
server/static/index.html
浏览文件 @
a4422101
<!DOCTYPE html>
<html
lang=
en
><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
icon
href=
favicon.ico
><link
rel=
stylesheet
href=
static/font/iconfont.css
><title>
fastposter海报生成器
</title><meta
name=
keywords
content=
"fastposter海报生成器 电商海报编辑器 电商海报设计器器 二维码推广海报 低代码海报生成器 在线作图 Java生成二维码分享海报图片 海报生成器在线制作 在线海报生成器 免费海报一键生成器 海报在线生成 Poster在线制作"
><meta
name=
description
content=
"fastposter海报生成器 电商海报编辑器 电商海报设计器器 二维码推广海报 fastposter低代码海报生成器 Java Graphics2D绘制海报图片 通过JSON生成海报图片 程序员的海报设计器 一款程序员的海报生成器 python生成海报 java生成海报 免费海报一键生成器"
><script>
var
_hmt
=
_hmt
||
[];(
function
()
{
var
hm
=
document
.
createElement
(
"
script
"
);
hm
.
src
=
"
https://hm.baidu.com/hm.js?666f29845ed43fbcd0282a91cb281b83
"
;
var
s
=
document
.
getElementsByTagName
(
"
script
"
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);})();
</script><script>
var
baseURI
=
"
/
"
;
if
(
baseURI
===
'
/
'
)
{
baseURI
=
(
location
.
protocol
+
'
//
'
+
location
.
host
+
location
.
pathname
).
replace
(
/
(
.+
\/)
.*$/
,
'
$1
'
)};
window
.
API_URL
=
baseURI
;
window
.
PREVIEW_URL
=
baseURI
+
'
api/preview
'
;
window
.
UPLOAD_URL
=
baseURI
+
'
api/upload
'
;
console
.
info
(
'
fastposter(2.17.0): 震撼来袭...
'
)
</script><link
href=
js/about.eb687494.js
rel=
prefetch
><link
href=
css/app.742ff3ff.css
rel=
preload
as=
style
><link
href=
css/chunk-vendors.87d3b6c6.css
rel=
preload
as=
style
><link
href=
js/app.a45846f9.js
rel=
preload
as=
script
><link
href=
js/chunk-vendors.d3f19a59.js
rel=
preload
as=
script
><link
href=
css/chunk-vendors.87d3b6c6.css
rel=
stylesheet
><link
href=
css/app.742ff3ff.css
rel=
stylesheet
></head><body><noscript><strong>
请开启JS支持
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.d3f19a59.js
></script><script
src=
js/app.a45846f9.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html
lang=
en
><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
icon
href=
favicon.ico
><link
rel=
stylesheet
href=
static/font/iconfont.css
><title>
fastposter海报生成器
</title><meta
name=
keywords
content=
"fastposter海报生成器 电商海报编辑器 电商海报设计器器 二维码推广海报 低代码海报生成器 在线作图 Java生成二维码分享海报图片 海报生成器在线制作 在线海报生成器 免费海报一键生成器 海报在线生成 Poster在线制作"
><meta
name=
description
content=
"fastposter海报生成器 电商海报编辑器 电商海报设计器器 二维码推广海报 fastposter低代码海报生成器 Java Graphics2D绘制海报图片 通过JSON生成海报图片 程序员的海报设计器 一款程序员的海报生成器 python生成海报 java生成海报 免费海报一键生成器"
><script>
var
_hmt
=
_hmt
||
[];(
function
()
{
var
hm
=
document
.
createElement
(
"
script
"
);
hm
.
src
=
"
https://hm.baidu.com/hm.js?666f29845ed43fbcd0282a91cb281b83
"
;
var
s
=
document
.
getElementsByTagName
(
"
script
"
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);})();
</script><script>
var
baseURI
=
"
/
"
;
if
(
baseURI
===
'
/
'
)
{
baseURI
=
(
location
.
protocol
+
'
//
'
+
location
.
host
+
location
.
pathname
).
replace
(
/
(
.+
\/)
.*$/
,
'
$1
'
)};
window
.
API_URL
=
baseURI
;
window
.
PREVIEW_URL
=
baseURI
+
'
api/preview
'
;
window
.
UPLOAD_URL
=
baseURI
+
'
api/upload
'
;
console
.
info
(
'
fastposter(2.17.1): 震撼来袭...
'
)
</script><link
href=
js/about.eb687494.js
rel=
prefetch
><link
href=
css/app.742ff3ff.css
rel=
preload
as=
style
><link
href=
css/chunk-vendors.87d3b6c6.css
rel=
preload
as=
style
><link
href=
js/app.a45846f9.js
rel=
preload
as=
script
><link
href=
js/chunk-vendors.d3f19a59.js
rel=
preload
as=
script
><link
href=
css/chunk-vendors.87d3b6c6.css
rel=
stylesheet
><link
href=
css/app.742ff3ff.css
rel=
stylesheet
></head><body><noscript><strong>
请开启JS支持
</strong></noscript><div
id=
app
></div><script
src=
js/chunk-vendors.d3f19a59.js
></script><script
src=
js/app.a45846f9.js
></script></body></html>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录