fastifyでは通常、POSTメソッドではjsonしか受け付けないが、公式のプラグインにこんなものを発見。
https://github.com/fastify/fastify-formbody
プラグインとして読み込むとapplication/x-www-form-urlencodedが使えるようになるらしい。
これを参考にapplication/x-amz-json-1.1が使えるようにしたのが以下のコード。
| {"name":"Frontend development","icon":"vm","extensions":"[{\"identifier\":{\"id\":\"akamud.vscode-theme-onedark\",\"uuid\":\"9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6\"},\"displayName\":\"Atom One Dark Theme\",\"applicationScoped\":false},{\"identifier\":{\"id\":\"equinusocio.vsc-community-material-theme\",\"uuid\":\"bf8aa94a-4051-42fe-9bd1-2becad466fe7\"},\"displayName\":\"Community Material Theme\",\"applicationScoped\":false},{\"identifier\":{\"id\":\"teabyii.ayu\",\"uuid\":\"5178733e-4b02-4829-95c5-1ce970847c23\"},\"displayName\":\"Ayu\",\"applicationScoped\":false},{\"identifier\":{\"id\":\"usernamehw.errorlens\",\"uuid\":\"9d8c32ab-354c-4daf-a9bf-20b633734435\"},\"displayName\":\"Error Lens\",\"applicationScoped\":false},{\"identifier\":{\"id\":\"zhuangtongfa.material-theme\",\"uuid\":\"26a529c9-2654-4b95-a63f-02f6a52429e6\"},\"displayName\":\"One Dark Pro\",\"applicationScoped\":false},{\"identifier\":{\"id\":\"bierner.markdown-mermaid\",\"uuid\":\"f8d0ffc4-66bb-4a9c-8149-ef8f043691a1\"},\"displayName\":\"M |
fastifyでは通常、POSTメソッドではjsonしか受け付けないが、公式のプラグインにこんなものを発見。
https://github.com/fastify/fastify-formbody
プラグインとして読み込むとapplication/x-www-form-urlencodedが使えるようになるらしい。
これを参考にapplication/x-amz-json-1.1が使えるようにしたのが以下のコード。
| /* Original Icon : https://github.com/Aikoyori/ProgrammingVTuberLogos/ */ | |
| .editor-group-watermark > .letterpress{ | |
| /* no shadow */ | |
| background-image: url("https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode.png") !important; | |
| /* with shadow */ | |
| /* background-image: url("https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode-Thick.png") !important; */ | |
| } |