tencentcloudbase / cloudbase-examples Goto Github PK
View Code? Open in Web Editor NEWTCB 案例
TCB 案例
默认域名已配置
// cloudfunctions/functions/getFile/index.js
const AllowOriginList = [
'files-19c3f9-1256701454.tcloudbaseapp.com'
]
报错
Access to XMLHttpRequest at 'https://cos.ap-shanghai.myqcloud.com/6669-files-19c3f9-1256701454/1143a2eca7d84b5fb71738b13b4135ec959f02efcfd527d09798bc4836b089456925b6fdbfdccabfc56ac1f61181/1589196353070/test.json' from origin 'https://files-19c3f9-1256701454.tcloudbaseapp.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Remove appid from tcb-demo-sms
Remove appid from tcb-demo-hole
Remove appid from tcb-demo-gomoku
Remove appid from tcb-demo-bbs
下载下来的代码cloudfunctions文件夹下没有database文件夹?
Remove appid from tcb-demo-namecard
Remove appid from tcb-demo-subscribeMessage
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.