serverless.yml 460 B

123456789101112131415161718192021
  1. name: tencent-fullstack-vue-application
  2. dashboard:
  3. component: '@serverless/tencent-website'
  4. inputs:
  5. code:
  6. src: dist
  7. root: dashboard
  8. hook: npm run build
  9. env:
  10. apiUrl: ${api.url}
  11. # domain: www.serverlessmetrics.com # Insert your custom domain here
  12. api:
  13. component: '@serverless/tencent-express'
  14. inputs:
  15. code: ./api
  16. functionName: tencent-fullstack-vue-api
  17. apigatewayConf:
  18. protocols:
  19. - https