LoginSignup
1
0

More than 3 years have passed since last update.

IBM Cloud Internet ServicesのEdge Functionでハイフン付きのサブドメインをトリガーに指定する方法

Posted at

しょうもないバグ?を見つけてしまったので共有します。

IBM Cloud Internet Services(以下、CIS)のEdge Function(CloudflareのWorkersに相当)ではURLをトリガーに処理を行いますが、トリガーに指定できるURLはそのCISで管理しているドメインまたはそのサブドメインです。

しかし、ハイフン(-)を含むサブドメインを指定するとなぜかエラーになります。

image.png

この場合の対処ですが、いったんハイフンを除いて保存します。

image.png

そして保存後に編集ボタンを押すと、今度はハイフンを付けてもエラーにならず保存できます。

image.png

ああ、しょうもない。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0