Skip to content

Commit

Permalink
Move macro to the correct Erlang app
Browse files Browse the repository at this point in the history
The Web MQTT link is not used in the rabbitmq_mqtt Erlang app.
This link is only used in the rabbitmq_web_mqtt Erlang app.
Hence, move the link to the correct Erlang app.

(cherry picked from commit 4b95745)
  • Loading branch information
ansd authored and mergify[bot] committed Mar 21, 2024
1 parent 631df5c commit f178412
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion deps/rabbitmq_mqtt/include/rabbit_mqtt.hrl
Expand Up @@ -12,7 +12,6 @@
-define(PERSISTENT_TERM_EXCHANGE, mqtt_exchange).
-define(DEFAULT_MQTT_EXCHANGE, <<"amq.topic">>).
-define(MQTT_GUIDE_URL, <<"https://rabbitmq.com/docs/mqtt/">>).
-define(WEB_MQTT_GUIDE_URL, <<"https://rabbitmq.com/docs/web-mqtt/">>).

-define(MQTT_TCP_PROTOCOL, 'mqtt').
-define(MQTT_TLS_PROTOCOL, 'mqtt/ssl').
Expand Down
Expand Up @@ -59,7 +59,7 @@ usage_additional() ->
].

usage_doc_guides() ->
[?WEB_MQTT_GUIDE_URL].
[<<"https://rabbitmq.com/docs/web-mqtt">>].

run(Args, #{node := NodeName,
timeout := Timeout,
Expand Down

0 comments on commit f178412

Please sign in to comment.