PDF js express watermark is not getting removed even after putting the license key against a domain

I am going to use only the viewer for my website. I have generated one license key against my domain. After placing the code into production, the watermarks are still appearing on the viewer. How to remove it please guide. Thanks.

function openPDF(pdfFileName) {
											document.getElementById('pdfviewer').style.display = 'block';
											WebViewer({
												
												licenseKey: 'KEY_HERE',
												initialDoc: '<%=contextPath%>/viewpdf/'+pdfFileName,
											}, document.getElementById('pdfviewer'))
											.then(instance => {
												
												instance.UI.setTheme('dark');
												instance.UI.disableElements(['fullscreenButton']);
												instance.UI.disableFeatures([instance.UI.Feature.Print]);
												instance.UI.disableElements(['ribbons']);
												instance.UI.disableElements(['panToolButton']);
												instance.UI.disableElements(['toolsHeader']);
												instance.UI.disableElements(["language", "languageButton"]);
												instance.UI.disableElements(["selectTool", "selectToolButton"]);
												instance.UI.disableElement(["toggleNotesButton"]);

												  instance.UI.setHeaderItems((header) => {
													header.getHeader('default').push({
													  img: "icon-header-full-screen",
													  index: -1,
													  type: "actionButton",
													  element: 'fullScreenButton',
													  onClick: () => {
														instance.UI.toggleFullScreen()
													  }
													});
												  });

											});
										}

Hi there,

Your code snippet seems to be fine,

Generally the issue comes from setting the Top Level Domain correctly on the dashboard. Please try re-generating the license key and see if that resolves your issue.

Best regards,
Kevin Kim