mirror of
https://github.com/usetrmnl/trmnl-picker.git
synced 2026-04-29 13:44:02 -07:00
Switch from usetrmnl.com -> trmnl.com
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
A lightweight JavaScript library for managing TRMNL device model and palette selection.
|
||||
|
||||
It's used by the core TRMNL web app, [trmnlp](https://github.com/usetrmnl/trmnlp), [BYOS (Bring Your Own Server)](https://docs.usetrmnl.com/go/diy/byos) applications, and anybody else who needs it.
|
||||
It's used by the core TRMNL web app, [trmnlp](https://github.com/usetrmnl/trmnlp), [BYOS (Bring Your Own Server)](https://docs.trmnl.com/go/diy/byos) applications, and anybody else who needs it.
|
||||
|
||||

|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@ var _DEFAULT_MODEL_NAME = "og_plus";
|
||||
var _API_CACHE_KEY = "trmnl-picker-api-cache";
|
||||
var _CACHE_TTL_MS = 24 * 60 * 60 * 1e3;
|
||||
var TRMNLPicker = class _TRMNLPicker {
|
||||
static API_BASE_URL = "https://usetrmnl.com";
|
||||
static API_BASE_URL = "https://trmnl.com";
|
||||
/**
|
||||
* Get cached API response from localStorage
|
||||
* @private
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -26,7 +26,7 @@ var TRMNLPicker = (() => {
|
||||
var _API_CACHE_KEY = "trmnl-picker-api-cache";
|
||||
var _CACHE_TTL_MS = 24 * 60 * 60 * 1e3;
|
||||
var TRMNLPicker = class _TRMNLPicker {
|
||||
static API_BASE_URL = "https://usetrmnl.com";
|
||||
static API_BASE_URL = "https://trmnl.com";
|
||||
/**
|
||||
* Get cached API response from localStorage
|
||||
* @private
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+5
-5
@@ -5,8 +5,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>TRMNL Picker - Demo</title>
|
||||
|
||||
<link rel="stylesheet" href="https://usetrmnl.com/css/latest/plugins.css" />
|
||||
<script src="https://usetrmnl.com/js/latest/plugins.js"></script>
|
||||
<link rel="stylesheet" href="https://trmnl.com/css/latest/plugins.css" />
|
||||
<script src="https://trmnl.com/js/latest/plugins.js"></script>
|
||||
|
||||
<!-- Begin Inter font -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
@@ -22,7 +22,7 @@
|
||||
<p class="description">
|
||||
<a href="https://usetrmnl.github.io/trmnl-picker/doc/">API Reference</a> ::
|
||||
<a href="https://github.com/usetrmnl/trmnl-picker">Source</a> ::
|
||||
<a href="https://usetrmnl.com">About TRMNL</a>
|
||||
<a href="https://trmnl.com">About TRMNL</a>
|
||||
</p>
|
||||
|
||||
<div class="panel">
|
||||
@@ -477,12 +477,12 @@
|
||||
</div>
|
||||
|
||||
<div class="title_bar">
|
||||
<img class="image" alt="" src="https://usetrmnl.com/images/plugins/github--render.svg">
|
||||
<img class="image" alt="" src="https://trmnl.com/images/plugins/github--render.svg">
|
||||
<span class="title">GitHub</span>
|
||||
<span class="instance">@ryanckulp</span>
|
||||
</div>
|
||||
</div>
|
||||
<link rel="stylesheet" href="https://usetrmnl.com/assets/plugins/github_commit_graph-950a773f8a8396624970f5decdf486d40299e22aa0c9bfa5acd2ca1dc3048b5f.css" media="all">
|
||||
<link rel="stylesheet" href="https://trmnl.com/assets/plugins/github_commit_graph-950a773f8a8396624970f5decdf486d40299e22aa0c9bfa5acd2ca1dc3048b5f.css" media="all">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ const _CACHE_TTL_MS = 24 * 60 * 60 * 1000
|
||||
* })
|
||||
*/
|
||||
class TRMNLPicker {
|
||||
static API_BASE_URL = 'https://usetrmnl.com'
|
||||
static API_BASE_URL = 'https://trmnl.com'
|
||||
|
||||
/**
|
||||
* Get cached API response from localStorage
|
||||
|
||||
Reference in New Issue
Block a user