0035_seed_aim_web_api_key.up.sql 511 B

1234567891011121314151617181920
  1. -- Default dev key used by the mirrored AIM Web client (k=ao1yOLlHVHhsa3o6).
  2. INSERT OR IGNORE INTO web_api_keys (
  3. dev_id,
  4. dev_key,
  5. app_name,
  6. created_at,
  7. is_active,
  8. rate_limit,
  9. allowed_origins,
  10. capabilities
  11. ) VALUES (
  12. 'aim_web',
  13. 'ao1yOLlHVHhsa3o6',
  14. 'AIM Web Client',
  15. strftime('%s', 'now'),
  16. 1,
  17. 600,
  18. '["http://localhost","https://localhost","http://localhost:8000","https://localhost:8000","http://127.0.0.1:8000","https://127.0.0.1:8000"]',
  19. '[]'
  20. );