-
我在使用tencent-http模板的时候遇到了几个问题,大佬们能否帮我解答下 详细配置在我的仓库这里https://github.com/cloud2303/remix-scf https://github.com/serverless-components/tencent-http/blob/master/docs/configure.md
结果呢,我在更上一级的根目录下执行,只找到了一个组件,server下面的组件,public的组件并没有被识别并执行,非常难受~
在server下的serverless.yml配置文件中,我在apigw字段配置当中添加了customDomain,并设置了路径映射,如果我不设置路径映射,那是可以上传的,我设置了自定义映射,就会报错 Apis
但是,如果我手动在apigateway那边添加了路径映射 既然你们api gateway有这个cos映射,为什么不在配置文件下体现一下呢,当然,我手动在网页上添加了cos映射,资源是有了,但不管是js,css文件 资源类型统一变成了 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
感谢大佬的pr cloud2303/remix-scf#1 (comment) 另外,自定义域名映射的问题我也解决了 customMap: false ,isDefaultMapping: false 这两个得一起设置为false,这样就可以自定义映射路径了,非常感谢大佬的帮忙
|
Beta Was this translation helpful? Give feedback.
感谢大佬的pr cloud2303/remix-scf#1 (comment)
另外,自定义域名映射的问题我也解决了
customMap: false ,isDefaultMapping: false 这两个得一起设置为false,这样就可以自定义映射路径了,非常感谢大佬的帮忙♥️