<commit_before>
import { makeNewGuid } from "../guid"

export default function startup(api) {

  if (Meteor.isServer) {

    if (process.env.NODE_ENV === "production" && !process.env.CI) {
      let { ROOT_URL } = __meteor_runtime_config__
      let current = api.get.sync(`DefinedValues?$filter=Value eq '${ROOT_URL}'`)

      if (!current.length) {
        let DefinedValue = {
          IsSystem: true,
          Order: 0,
          DefinedTypeId: 12,
          Value: ROOT_URL,
          Description: `Application at ${ROOT_URL}`,
          Guid: makeNewGuid()
        }<commit_msg>only post to rock on production<commit_after>
import { makeNewGuid } from "../guid"

export default function startup(api) {

  if (Meteor.isServer) {

    if (process.env.NODE_ENV === "production" && __meteor_runtime_config__.ROOT_URL.match("localhost") === null) {
      let { ROOT_URL } = __meteor_runtime_config__
      let current = api.get.sync(`DefinedValues?$filter=Value eq '${ROOT_URL}'`)

      if (!current.length) {
        let DefinedValue = {
          IsSystem: true,
          Order: 0,
          DefinedTypeId: 12,
          Value: ROOT_URL,
          Description: `Application at ${ROOT_URL}`,
          Guid: makeNewGuid()
        }
{'fraction_non_alphanumeric': 0.12772837510105092, 'fraction_numerical': 0.004850444624090542, 'mean_word_length': 2.557471264367816, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5416495', 'n_tokens_mistral': 399, 'n_tokens_neox': 378, 'n_words': 88}