Skip to content

Commit 5608c3b

Browse files
authored
fix: browser header showing null (#750)
1 parent 8c5274f commit 5608c3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!doctype html>
22
<html lang="en-us">
33
<head>
4-
<title>Application Template | <%= process.env.SITE_NAME %></title>
4+
<title>Application Template <%= (process.env.SITE_NAME && process.env.SITE_NAME != 'null') ? '| ' + process.env.SITE_NAME : '' %></title>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<link rel="shortcut icon" href="<%=htmlWebpackPlugin.options.FAVICON_URL%>" type="image/x-icon" />

0 commit comments

Comments
 (0)