@dargmuesli/nuxt-vio 3.2.5 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@
|
|
7
7
|
[
|
8
8
|
...(isPrimary
|
9
9
|
? [
|
10
|
-
'border-transparent bg-gray-800 text-text-bright hover:
|
10
|
+
'border-transparent bg-gray-800 text-text-bright hover:brightness-90 dark:bg-vio-primary-bg dark:text-vio-primary-text',
|
11
11
|
]
|
12
12
|
: [
|
13
13
|
'border-gray-300 text-text-dark hover:bg-black/5 dark:border-gray-600 dark:text-text-bright dark:hover:bg-black/30',
|
package/package.json
CHANGED
package/utils/networking.ts
CHANGED
@@ -74,7 +74,7 @@ export const getDomainTldPort = (host: string) => {
|
|
74
74
|
if (/^localhost(:[0-9]+)?$/.test(hostParts[hostParts.length - 1]))
|
75
75
|
return hostParts[hostParts.length - 1]
|
76
76
|
|
77
|
-
if (hostParts.length === 1)
|
77
|
+
if (hostParts.length === 1) return hostParts[0]
|
78
78
|
|
79
79
|
return `${hostParts[hostParts.length - 2]}.${hostParts[hostParts.length - 1]}`
|
80
80
|
}
|