- S3の'Static Website Hosting'を有効にする
- 'Edit Redirection Rules'を編集する
- 'bucket policy'を編集する
- CLoudFrontのOriginにS3の'Static Website Hosting'のEndpointを指定する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class API { | |
static let apiKey = "test" | |
static let baseUrl = "" | |
enum Endpoint { | |
case login | |
case register | |
var endpoint: String { | |
switch self { |