AWS S3ãåãªãã¹ãã¬ã¼ã¸ã¨ãã¦ä½¿ãéã«ã¯åé¡ã¨ãªããªãã®ã§ãããS3ãWebãµã¼ãã¨ãã¦ä½¿ãå ´åã¯ãã¡ã¤ã«ã®MIMEã¿ã¤ã(Content-type)ãæ£ããæå®ãã¦ãããªãã¨Webãã©ã¦ã¶ãããã¦ã³ãã¼ããæ±ãããããªã©æå³ããéãåãã¦ãããªããã¨ãããã¾ãã ãã®æå®æ¹æ³ã¯ã·ã³ãã«ã§S3.putObjectãå®è¡ããéã®ãã©ã¡ã¼ã¿ã¼ã¨ãã¦æ¸¡ãã ãã const params = { Bucket: 's3.example.com', Key: 'foo.html', Body: await fs.readFile('foo.html'), ContentType: 'text/html' } await S3.putObject(params).promise() ãã®ã¨ãã«äºãMIMEã¿ã¤ãããã¹ã¦å¤æãã¦ããã°è¯ãã®ã§ãããä¸ç¹å®å¤æ°ã®ç¨®é¡ã®ãã¡ã¤ã«ãæ±ããããªå ´åã«ã¯ãã¡
{{#tags}}- {{label}}
{{/tags}}