cdnhost 1.3.7 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cdnbanner.js +4 -4
  2. package/package.json +1 -1
package/cdnbanner.js CHANGED
@@ -16,14 +16,14 @@ function loadBanner(divId = '1', userId = 'admin', width = 300, height = 250) {
16
16
  .then(res => res.json())
17
17
  .then(data => {
18
18
  const banner = document.createElement('a');
19
- banner.href = `banner2.php?link=${encodeURIComponent(data.link)}&user=${encodeURIComponent(userId)}&country=ko`;
19
+ banner.href = `https://gig.snapp.im/banner2.php?link=${encodeURIComponent(data.link)}&user=${encodeURIComponent(userId)}&country=ko`;
20
20
  banner.target = "_blank";
21
21
  banner.style.background = '#000';
22
22
  banner.style.color = '#fff';
23
23
  banner.style.textDecoration = 'none';
24
24
  banner.style.display = 'flex';
25
25
  banner.style.overflow = 'hidden';
26
- banner.style.position = 'relative'; // �� ���� �������� ���� ����
26
+ banner.style.position = 'relative'; // 고정 아이콘을 위한 기준
27
27
 
28
28
  const imgWidth = 300;
29
29
  const imgHeight = 250;
@@ -123,7 +123,7 @@ function loadBanner(divId = '1', userId = 'admin', width = 300, height = 250) {
123
123
  banner.appendChild(imageDiv);
124
124
  }
125
125
 
126
- // �߰��� ���� ������ (���� ���)
126
+ // 추가된 고정 아이콘 (우측 상단)
127
127
  const fixedIcon = document.createElement('a');
128
128
  fixedIcon.href = 'https://gig.snapp.im/';
129
129
  fixedIcon.target = '_blank';
@@ -144,6 +144,6 @@ function loadBanner(divId = '1', userId = 'admin', width = 300, height = 250) {
144
144
  div.appendChild(banner);
145
145
  })
146
146
  .catch(err => {
147
- console.error('��� �ε� ����:', err);
147
+ console.error('배너 로드 실패:', err);
148
148
  });
149
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdnhost",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "description": "cdnhost",
5
5
  "main": "index.js",
6
6
  "scripts": {