Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add "stun:" scheme literal
The STUN scheme can not be specified (browsers do not support "stuns:"),
but a literal text was added to clarify that the scheme does not need to
be included in the input field.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
  • Loading branch information
danxuliu authored and backportbot[bot] committed Feb 5, 2021
commit ce3910a8d59b3bc1bcb0278f08194e042a9448b4
7 changes: 7 additions & 0 deletions src/components/AdminSettings/StunServer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

<template>
<div class="stun-server">
<!-- "stun:" scheme is untranslated -->
<span class="scheme">stun:</span>
<input ref="stun_server"
type="text"
name="stun_server"
Expand Down Expand Up @@ -96,6 +98,11 @@ export default {
</script>

<style lang="scss" scoped>
.scheme {
/* Same margin as inputs to keep the style. */
margin: 3px 3px 3px 0;
}

.stun-server {
height: 44px;
display: flex;
Expand Down