liuchangfreeman / oneindexserverless Goto Github PK
View Code? Open in Web Editor NEWServerless version of OneIndex, which can be deployed on aliyun.com
License: MIT License
Serverless version of OneIndex, which can be deployed on aliyun.com
License: MIT License
不清楚为什么会报这个错误,当前步骤是访问github page页,返回的是500错误,我在阿里云控制台测试的时候(list)函数,返回的错误如下:
Traceback (most recent call last):
File "/code/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/code/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/code/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/code/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/code/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/code/main.py", line 172, in list
response={"error":e.message,"data":data}
UnboundLocalError: local variable 'data' referenced before assignment
FC Invoke End RequestId: 2c5e8340-0f00-4592-8df0-5ca42a11f62e
Duration: 2.76 ms, Billed Duration: 100 ms, Memory Size: 3072 MB, Max Memory Used: 58.32 MB
能不能做一个类似oneindex的密码保护文件夹功能, 用 .password
放在文件夹下定义密码 ? 谢谢!
默认目录 / 希望可以指定一个目录 这样根目录的其他东西可以被隐藏
忽略指定目录
目录密码 打开指定目录需要匹配 .passpword.md文件中的文本
头尾描述 README.md 和HEAD.md文件用于查看
按照教程设置成功,但如何设置文件夹的密码呢?
期待之后的更新
过一段时间提示
OneDrive服务器错误:CompactToken validation failed with reason code: 80049228.
I think a search function will help people find what he want when given a huge load of shared files.
能不能推荐一下?
刚了解到这个项目,还不是特别懂原理。
希望视频可以直接在网页上播放而不是必须下载下来
文件上传
直链分享
视频在线播放
(感觉像是在做梦)
下载您已经弄好了
打开目录检查是否存在.passpword,若存在,就弹出密码校验框,与.passpword文件中的文本相匹配!
在分享时这个很重要啊啊啊啊!!!!
在私密标签页内尝试也是这样
经常service unavailable,刷新五六次就出来了,有点难受
错误代码为error": "The request signature we calculated does not match the signature you provided. Check your key and signing method."}
求解答
过程是点击登录之后登陆完毕出现桥接页面,然后自动下载authorized.html文件
后端配置与博主一样
到登录账号那里出错了,倒数第三张图出现下载提示。
下载文件名为authorized。下了几次,一次为access_token一次为owner。
感觉是回调的时候搞错了header。
我使用的是gitee的页面服务。github也测试过了,同样的错误
login/authorized里面token数组的内容:
{
"timestamp": "2019-07-23 07:09:49Z",
"time": 1563865789.725511,
"trace_id": "7e8571c5-a54c-4525-80d0-ce833d791b00",
"correlation_id": "af12d840-a7a5-4267-9367-2c663f958d28",
"error_description": "AADSTS70008: The provided authorization code or refresh token is expired. Send a new interactive authorization request for this user and resource.\r\nTrace ID: 7e8571c5-a54c-4525-80d0-ce833d791b00\r\nCorrelation ID: af12d840-a7a5-4267-9367-2c663f958d28\r\nTimestamp: 2019-07-23 07:09:49Z",
"error": "invalid_grant",
"error_codes": [
70008
]
}
默认全盘暴露在外了。
I deployed the program to aliyun according to the instruction you posted on zhihu zhuanlan.
Web page hosted at github pages, but I got this
Response
{"oss_available": true, "success": false}
Function Logs
FC Invoke Start RequestId: cc9753a8-9d0b-4d5c-9bc9-6f4c3415736c
FC Invoke End RequestId: cc9753a8-9d0b-4d5c-9bc9-6f4c3415736c
Duration: 2.02 ms, Billed Duration: 100 ms, Memory Size: 3072 MB, Max Memory Used: 36.26 MB
Request ID
cc9753a8-9d0b-4d5c-9bc9-6f4c3415736c
大大你好,我成功部署好了函数计算版本的oneindex,但是发现我没法像其他oneindex还有goindex一样批量复制连接然后粘贴到IDM里去下载,或者给别人分享我OD文件的直链 想请问下此功能可以在函数计算版本的oneindex中实现吗?
谢谢!
Because AWS have a always free tier and Lambda is included。
disable aliyun oss branch:
https://github.com/yitiandelan/OneIndex-Serverless/tree/aio
add_headers:
'Access-Control-Allow-Origin' *
build:
cd OneIndex-Serverless/Deploy && docker build -t test .
作者大大您好!一个来自2020/4/1的小白表示,现在才看到您的教程,然鹅,阿里云函数计算部分已经与您当时有很大出入,如果您能更新一下教程,感激不尽!
祝好!
可以使用浏览和下载,能否增加个直接上传的功能呢。。。让浏览客户也能上传文件,可以固定一个目录给客户用
目前不支持**区世纪互联版onedrive
进入后台界面,输入错误密码会提示:密码错误。但是输入正确密码后会重新回到输入密码的界面。
您好,我想问一下为什么我在后台管理处切换账号时,一直都是在我还没输入自己的Onedrive账号时,她就会自动跳转到我的当前在电脑上登录的Onedrive账号呢(但是我想用的不是这一个账号,现在无法切换!)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.