NutzCN Logo
问答 关于上传文件在配置中的路径设置
发布于 2262天前 作者 ang 1633 次浏览 复制 上一个帖子 下一个帖子
标签:

是这样。readitec_supporter是我的项目名
其中配置文件是:

# file stored repository (Chinese words need ASCII, help tool @http://tool.oschina.net/encode?type=3)
STREAM_FILE_REPOSITORY=C:/Users/Readitec/Desktop/readitec_supporter/WebContent/slicedrop/model

# when the file has uploaded, whether delete it.
STREAM_DELETE_FINISH=false

# this server whether allow other different domain[s] upload file to this server
STREAM_IS_CROSS=false

# allowed domain (PS: flash method need modifying the `crossdomain.xml`)
STREAM_CROSS_ORIGIN=*

# when Browser @http:www.A.com, the file will upload to @STREAM_CROSS_SERVER
STREAM_CROSS_SERVER=http://customers.duapp.com

#customer property(server ip)
FILE_SERVER=http://localhost:8080/filesrv

我现在想请教两个问题:
1、STREAM_FILE_REPOSITORY=C:/Users/Readitec/Desktop/readitec_supporter/WebContent/slicedrop/model
这个是绝对路径,如果我把项目放到其他服务器上,这路径就得改,就是可不可以优化?

2、FILE_SERVER=http://localhost:8080/filesrv 这个是要做修改吗?(其实我不太清楚它代表什么意思,我发现不改动也没有影响。。。。)

3 回复

这是神马项目...

这个啊,是一个和vr有关的,是别人写了大半,我来接手的。我就是疑惑它这个上传文件的路径配置文件

vr有是啥...

我觉得你还是全局搜STREAM_FILE_REPOSITORY ,看看哪里引用这个配置吧

添加回复
请先登陆
回到顶部