esp.json 699 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "name": "login-database",
  3. "description": "login-database",
  4. "version": "1.0.0",
  5. "esp": {
  6. app: {
  7. source: [ "app.c" ]
  8. }
  9. },
  10. "http": {
  11. "auth": {
  12. "store": "app",
  13. "type": "app",
  14. "__login": "https:///public/login.esp"
  15. },
  16. "database": "mdb://login.mdb",
  17. "routes": [
  18. {
  19. "pattern": "/user/{action}",
  20. "source": "user.c",
  21. "target": "user/${action}",
  22. }, {
  23. "pattern": "/public",
  24. "auth": "none",
  25. }
  26. ],
  27. "timeouts": {
  28. "session": "1min"
  29. }
  30. }
  31. }